|
pulsatrix 1.1.0
|
A tool the model may call. ToolRegistry::specs() makes these from its tools. More...
#include <message.hpp>

Public Attributes | |
| std::string | name |
letters, digits, _ and -, 1 to 128 characters | |
| std::string | description |
| JsonValue | input_schema |
| a JSON Schema object | |
| bool | strict = false |
Ask the provider to guarantee inputs that match the schema (Anthropic's strict tool use). The schema must then follow the provider's strict-mode rules, such as "additionalProperties": false on every object. | |
A tool the model may call. ToolRegistry::specs() makes these from its tools.
| std::string pulsatrix::orch::ToolSpec::description |
| JsonValue pulsatrix::orch::ToolSpec::input_schema |
a JSON Schema object
| std::string pulsatrix::orch::ToolSpec::name |
letters, digits, _ and -, 1 to 128 characters
| bool pulsatrix::orch::ToolSpec::strict = false |
Ask the provider to guarantee inputs that match the schema (Anthropic's strict tool use). The schema must then follow the provider's strict-mode rules, such as "additionalProperties": false on every object.