--base-tool <str> | The base tool (required for a new preset). |
--kwargs <str> | Baked fixed kwargs as a JSON object. A string value written ’!ENV ${VAR}’ is a secret reference the server resolves from that environment variable at run time, storing only the reference. |
--kwargs-file <str> | Read the fixed kwargs JSON object from a file, or from stdin when the path is ’-’, instead of putting a secret on the command line (a value on argv leaks via ps and shell history). Mutually exclusive with —kwargs. |
--description <str> | The preset’s LLM-facing description. |
--extensions <str> | Extension combos as a JSON array of combos. Each combo is a non-empty array of elements, and an element is an extension name (‘“chain”’) or a {“name”,“config”} object binding config to it (e.g. ’[[{“name”:“output_schema”,“config”:{“schema”:{“type”:“object”}}}]]’). |
--output-schema <str> | A JSON Schema object, or a template reference object. |
--output-schema-file <str> | Read the JSON object from a file, or from stdin when the path is ’-’. |
--input-schema <str> | A JSON Schema object, or a template reference object. |
--input-schema-file <str> | Read the JSON object from a file, or from stdin when the path is ’-’. |
--state-binding <str> | The preset’s state binding as a JSON object: {“states”: […]}. |
--state-binding-file <str> | Read the JSON object from a file, or from stdin when the path is ’-’. |
--input-map <str> | A jq program that turns the caller’s input (.) into the base tool’s arguments; $fixed holds the preset’s fixed kwargs. Needs —input-schema. |
--input-map-file <str> | Read the program text from a file, or from stdin when the path is ’-’. |
--input-map-template <str> | The program as a template object (JSON), e.g. {“id”: ”…”, “kwargs”: {}}. |
--output-map <str> | A jq program that reshapes the base tool’s result (.) before the output schema is checked. |
--output-map-file <str> | Read the program text from a file, or from stdin when the path is ’-’. |
--output-map-template <str> | The program as a template object (JSON), e.g. {“id”: ”…”, “kwargs”: {}}. |
--clear-output-schema | Remove the field on this version (sent as null). (default: False) |
--clear-input-schema | Remove the field on this version (sent as null). (default: False) |
--clear-state-binding | Remove the field on this version (sent as null). (default: False) |
--clear-input-map | Remove the field on this version (sent as null). (default: False) |
--clear-output-map | Remove the field on this version (sent as null). (default: False) |
--json / --no-json | Emit raw JSON instead of human tables. |