pub const BASH_TOOL_SCHEMA: &str = r#"{
"type": "object",
"properties": {
"command": {
"type": "string",
"description": "The bash command to execute"
},
"timeout": {
"type": "integer",
"description": "Timeout in milliseconds (default: 120000, max: 600000)"
},
"working_dir": {
"type": "string",
"description": "Working directory for the command. Must be an absolute path."
},
"run_in_background": {
"type": "boolean",
"description": "Run the command in background. Returns immediately with a task ID."
},
"background_timeout": {
"type": "integer",
"description": "Timeout in milliseconds for background tasks. If not set, background tasks run until completion."
},
"env": {
"type": "object",
"description": "Additional environment variables to set for the command",
"additionalProperties": {
"type": "string"
}
}
},
"required": ["command"]
}"#;Expand description
Bash tool JSON schema constant.