scar_lookup
Check whether an agent error pattern has been resolved before and retrieve the solution.
Instructions
Look up whether a failure pattern has been seen and resolved before. Returns the resolution if found, null otherwise.
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": {
"agent": "<agent>",
"error_type": "<error_type>"
},
"name": "scar_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Agent name where the failure occurred. | |
| error_type | Yes | Error class or type string (e.g. 'JSONDecodeError', 'RateLimitError'). | |
| context | No | Brief context snippet (first 200 chars of the failed prompt or task). |