refactor: cache plugin tool descriptors (#76079)

Co-authored-by: Shakker <shakkernerd@users.noreply.github.com>
This commit is contained in:
Peter Steinberger
2026-05-02 14:52:21 +01:00
committed by GitHub
parent c6817d8d7a
commit 1466878c36
7 changed files with 571 additions and 269 deletions

View File

@@ -257,6 +257,11 @@ plugin manifest:
}
```
OpenClaw captures and caches the validated descriptor from the registered tool,
so plugins do not duplicate `description` or schema data in the manifest. The
manifest contract only declares ownership and discovery; execution still calls
the live registered tool implementation.
Users enable optional tools in config:
```json5