toggle_schema
Enable or disable a schema without deleting it, preventing inactive schemas from loading into the agent. Set the enabled state or omit it to toggle the current state.
Instructions
Enable or disable a schema without deleting it. Inactive schemas are not loaded by the agent. Set enabled for the desired state; omitting it toggles the current state. Concurrent calls can race, so verify the returned is_active value.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"schema_id": "<schema_id>"
},
"name": "toggle_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | true = ativa; false = desativa. Omitir inverte o estado atual (repetir a chamada desfaz). | |
| schema_id | Yes | Schema UUID |