finalize_run
Persists the audit trail by writing the run log to a markdown file and clearing memory. Call at the end of each user query.
Instructions
Write the full run log to runs/<run_id>.md and clear memory.
Call once at the end of each user query to persist the audit trail.
'extra_notes': optional free-text annotation to append to the log.
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": "finalize_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| extra_notes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |