document_add_callback
Add a callback definition to an operation or components in an OpenAPI 3.x document. Provide the node path, callback name, and JSON definition.
Instructions
Add a callback definition to an operation or to components (OpenAPI 3.x only)
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>",
"nodePath": "<nodePath>",
"name": "<name>"
},
"name": "document_add_callback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Callback name | |
| session | Yes | Session name | |
| callback | No | JSON string with the callback definition | |
| nodePath | Yes | Node path to the operation or components |