Ask a model
chatSend one message to a model on OpenUncensored and return its reply, the model and provider that answered, and the cost in USD charged to the account.
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>",
"message": "<message>"
},
"name": "chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model id from list_models, e.g. glm-5.3-flash-uncensored | |
| system | No | Optional system prompt. | |
| api_key | No | Defaults to the key in the MCP config. | |
| message | Yes | The user message to send. | |
| max_tokens | No | Reply length cap. Default 2048. |