log_message
Record a user or assistant message with current local datetime and timezone offset to maintain a timestamped audit trail of AI conversations.
Instructions
Record a single message (user or assistant) with the current local datetime and timezone offset. Call before responding for user messages, and before sending for assistant messages.
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": {
"session_id": "<session_id>",
"role": "<role>",
"content": "<content>"
},
"name": "log_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID returned by start_session | |
| role | Yes | ||
| content | Yes | Full message text |