send_request
Execute API requests with variable resolution and automated assertions, returning status, timing, headers, and truncated body.
Instructions
Execute a request and return status, timing, headers, and a (truncated) body. Resolves {{variables}} from the active environment and the request's collection. Optionally capture the response as a saved example.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "send_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | No | Inline request definition (alternative to collection+requestName). | |
| collection | No | Collection name/id when sending a saved request. | |
| requestName | No | Saved request name or id within the collection. | |
| saveExample | No | When set, capture the response as an example on the saved request. Pass a string to label it. |