@devries-cameron20 / composio Mirror · read-only / commits / 8ccd0ceb4
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 16:00 UTC

docs(changelog): drop the per-call claim from the CLI compile failure

compileToolInputSchema still runs inside validateToolInputArgumentsWithDefinition, so the failure fires on every invocation. What changed is the diagnosis, not the frequency. Line 153 already made only the diagnosis claim; this aligns line 88 and the matching CLI changelog line with it.

jkomyno committed Aug 8, 2026 at 00:22 UTC 8ccd0ceb4fdcfb4f249719ef08616d919d092508
2 files changed +2 -2
docs/content/changelog/08-06-26-free-form-tool-arguments.mdx
+1 -1
@@ -85,7 +85,7 @@ wrapped.run({"metadata": {"count_a": 3}})
85
86 In Python, an invalid `patternProperties` or schema-valued `additionalProperties` schema now raises while the tool is wrapped instead of being ignored. This includes an external, anchored, or unresolvable `$ref`, a `patternProperties` key that is not a valid regular expression, or a dynamic-key subschema that is not valid Draft 7. A `$ref` in these schemas must be a local JSON Pointer such as `#/properties/foo`. The rule is transitive: a local pointer whose target carries a non-local reference raises too. A `$ref`-shaped value under `const`, `default`, `enum`, or `examples` is instance data rather than a reference, and is left alone.
87
88 -The CLI's validator fails early on the two of those it can detect: a `patternProperties` key that is not a valid regular expression, and a reference inside a dynamic-key subschema that does not resolve, following local pointers transitively. Both are now reported when the schema is compiled, naming the cached schema path, rather than once per call as though the arguments were at fault. A reference outside a dynamic-key subschema is still left to the validator, so a tool whose unused branch carries a dangling reference keeps working.
88 +The CLI's validator fails early on the two of those it can detect: a `patternProperties` key that is not a valid regular expression, and a reference inside a dynamic-key subschema that does not resolve, following local pointers transitively. Both are now reported as a schema compile failure naming the cached schema path, rather than as an input error blaming the arguments. A reference outside a dynamic-key subschema is still left to the validator, so a tool whose unused branch carries a dangling reference keeps working.
89
90 ### Behavior Change for Python Agentic Providers
91
ts/packages/cli/CHANGELOG.md
+1 -1
@@ -16,7 +16,7 @@
16 ### Patch Changes
17
18 - Free-form object arguments now pass CLI tool-input validation and keep their content instead of failing with an unknown-key error. Run `composio upgrade` to install the fixed CLI binary.
19 -- A tool schema the validator cannot interpret is now reported as a schema compile failure naming the cached schema path, instead of once per call as an input error blaming your arguments. This covers a `patternProperties` key that is not a valid regular expression, and a reference inside a `patternProperties` or schema-valued `additionalProperties` subschema that does not resolve.
19 +- A tool schema the validator cannot interpret is now reported as a schema compile failure naming the cached schema path, instead of as an input error blaming your arguments. This covers a `patternProperties` key that is not a valid regular expression, and a reference inside a `patternProperties` or schema-valued `additionalProperties` subschema that does not resolve.
20 - Fix Linux `composio upgrade` failures with `ETXTBSY` by staging CLI files in
21 the install directory and renaming the executable last. The installer and
22 companion repair use the same replacement strategy, and the running binary