queue_response
Register a canned response rule that returns a specified JSON object when an incoming request's script field contains a given substring. Rules are checked in registration order; the first match wins.
Instructions
Register a canned response: any incoming request whose script field contains match gets response back. Rules are checked in the order they were registered; the first match wins.
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": {
"match": "<match>",
"response": "<response>"
},
"name": "queue_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | Yes | Substring to look for in the request's `script` field. | |
| response | Yes | The JSON object to send back when this rule matches. |