api_post
Sends an HTTP POST request to a specified URL with optional body data, headers, and query parameters, returning the response in JSON or CSV format.
Instructions
Make a POST request to a specified URL with optional data, headers and query parameters
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": {
"url": "<url>"
},
"name": "api_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to send the POST request to | |
| data | No | The data to send in the request body (JSON, text, etc.) | |
| format | No | Output format (default: json) | |
| params | No | Optional query parameters as key-value pairs | |
| headers | No | Optional headers as key-value pairs |