raw_request
Call any Vast.ai REST endpoint directly by specifying HTTP method, path, and optional body parameters.
Instructions
Escape hatch for any Vast.ai REST endpoint not covered by other tools.
path is appended to https://console.vast.ai/api/v0 (include the leading
slash, e.g. "/volumes/").
Examples: raw_request(method="GET", path="/volumes/") raw_request(method="POST", path="/ssh/", body={"ssh_key": "ssh-rsa AAA..."})
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": "raw_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| path | Yes | ||
| method | Yes | ||
| params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||