log_error
Log session errors with message and context to enable semantic search for troubleshooting.
Instructions
Log an error that occurred during a session.
Creates an Error node with embedded message for semantic search.
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>",
"message": "<message>",
"context": "<context>",
"file": "<file>"
},
"name": "log_error"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ID of the session where the error occurred | |
| message | Yes | The error message | |
| context | Yes | Additional context about what was happening | |
| file | Yes | The file where the error occurred | |
| actor_context | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||