error_demo
Demonstrate different error handling scenarios by selecting a type: validation, not found, internal, timeout, or none.
Instructions
Demonstrate different types of error handling
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": {
"error_type": "<error_type>"
},
"name": "error_demo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error_type | Yes | Type of error to demonstrate |