document_add_response
Add a response to an API operation by providing the HTTP status code and description.
Instructions
Add a response to an operation by status code and description
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": {
"session": "<session>",
"path": "<path>",
"method": "<method>",
"statusCode": "<statusCode>",
"description": "<description>"
},
"name": "document_add_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The API path (e.g. /pets) | |
| method | Yes | HTTP method (get, post, put, etc.) | |
| session | Yes | Session name | |
| statusCode | Yes | HTTP status code (e.g. 200, 404, default) | |
| description | Yes | Response description |