Raw DeepSeek API request
deepseek_raw_requestSends a custom request to any DeepSeek API endpoint and returns unmodified JSON, covering endpoints or parameters not modeled by typed tools.
Instructions
Call any DeepSeek API endpoint directly with a body you control, and get the unmodified JSON back. This is the unrestricted escape hatch: it covers endpoints and parameters that the typed tools above do not model, including anything DeepSeek adds after this server was written. Authentication, retries, timeouts and base-URL resolution are still handled for you. Examples: path '/chat/completions' with your own body, path '/models' with method GET, path '/completions' with beta true.
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": {
"path": "<path>"
},
"name": "deepseek_raw_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| beta | No | Send to the beta base URL (https://api.deepseek.com/beta) instead of the stable one. | |
| body | No | JSON request body, sent verbatim. | |
| path | Yes | Endpoint path, e.g. /chat/completions, /models, /user/balance, /completions | |
| query | No | Query-string parameters. | |
| method | No | HTTP method. Default POST. | |
| stream | No | Treat the response as SSE and return the assembled result. | |
| headers | No | Additional request headers. | |
| timeout_ms | No |