api_request
Send HTTP requests to Samotpravil API using method, path, query, and body. Use dry_run to preview request before sending. Disable generic access with SAMOTPRAVIL_ALLOW_GENERIC_API=0.
Instructions
Generic HTTP к api.samotpravil.ru (safety flags, dry_run). Отключается через SAMOTPRAVIL_ALLOW_GENERIC_API=0.
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": {
"method": "<method>",
"path": "<path>"
},
"name": "api_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON-тело запроса | |
| path | Yes | Путь API, например /api/v1/smtp_send | |
| query | No | Query-параметры | |
| method | Yes | HTTP-метод | |
| dry_run | No | Показать запрос без отправки на API |