spraay_bittensor_chat_completions
Send chat completion requests to Bittensor AI models. Pay $0.03 USDC per call, no API keys required.
Instructions
Bittensor inference. Costs $0.03 USDC per call. Provide the listed fields as typed arguments.
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": {
"model": "<model>",
"messages": "<messages>"
},
"name": "spraay_bittensor_chat_completions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | model parameter | |
| messages | Yes | messages parameter | |
| max_tokens | No | max_tokens parameter | |
| temperature | No | temperature parameter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |