{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/TerminalToolRule", "title": "TerminalToolRule", "properties": { "tool_name": { "type": "string", "title": "Tool Name", "description": "The name of the tool. Must exist in the database for the user's organization." }, "type": { "type": "string", "const": "exit_loop", "title": "Type", "default": "exit_loop" }, "prompt_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Prompt Template", "description": "Optional template string (ignored)." } }, "additionalProperties": false, "type": "object", "required": [ "tool_name" ], "description": "Represents a terminal tool rule configuration where if this tool gets called, it must end the agent loop." }