turn
Capture every user message and prior reply verbatim, then return shared Commons context before your next answer, so chat apps need no hooks.
Instructions
Chat apps without hooks: call on EVERY turn, before answering: turn(user_message, reply=). Stores both word for word and returns what Commons already knows about the message.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "turn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | ||
| reply | No | ||
| api_key | No | ||
| project | No | ||
| conversation | No | ||
| user_message | No |