api_patch
Send PATCH requests to REST API endpoints to apply partial updates to existing resources, with support for request bodies, query parameters, and custom headers.
Instructions
PATCH request to an API endpoint
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>",
"data": "<data>"
},
"name": "api_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | API URL — absolute (https://host/path) or relative to the environment baseUrl (e.g. /users) | |
| data | Yes | Request body data | |
| params | No | Query parameters | |
| headers | No | Custom headers (merged on top of config + auth headers) | |
| maxChars | No | Max characters in the returned text (0 = unlimited; defaults to config.maxResponseChars). | |
| environment | No | Environment name (defaults to the active environment) | |
| includeHeaders | No | Include sanitized response headers in the result (default: false). |