feat: support parametersJsonSchema on function declarations #2

Merged
andreban merged 1 commits from feat/parameters-json-schema into main 2026-10-18 08:54:33 +01:00

1 Commits

Author SHA1 Message Date
43cf7933fc feat: support parametersJsonSchema on function declarations
Some checks failed
Rust / build (pull_request) Has been cancelled
FunctionDeclaration.parameters becomes Option<Value>, and the new
parameters_json_schema field sends the schema as JSON Schema. Vertex
rejects many JSON Schema keywords in parameters ($schema, $ref/$defs,
const, type arrays) but accepts them in parametersJsonSchema. Both
fields are skipped when None, since Vertex rejects a declaration that
sets both.
2026-10-18 08:34:56 +01:00