chat_message_send
Send a message in an existing chat session to get a Claude response. Maintains full conversation history, stores both user and assistant messages, and returns the assistant reply with token usage details.
Instructions
Send a message in an existing session and get a Claude response. Reconstructs full conversation history for the API call. Stores both user message and assistant response. Returns the assistant reply with token usage.
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": {
"sessionId": "<sessionId>",
"content": "<content>"
},
"name": "chat_message_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | UUID of the session to send the message in. | |
| content | Yes | Message content from the user. | |
| maxTokens | No | Maximum tokens in the response. Default: 8192. |