rew_call_api
Executes discovered REW API operations with validated path, query, and body arguments, including optional progress polling and timeout handling for completion.
Instructions
Execute any discovered REW operation with validated arguments. Body supports objects, arrays and JSON scalars. Waiting requires a documented progress endpoint. Timeout does not mean the action was cancelled.
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": {
"operation_id": "<operation_id>"
},
"name": "rew_call_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| wait | No | ||
| query | No | ||
| path_params | No | ||
| operation_id | Yes | ||
| wait_timeout | No | ||
| progress_path | No |