agent_session_log
Record progress, decisions, and issues during an active agent session by logging messages with debug, info, warning, or error levels to maintain a clear audit trail.
Instructions
Log a message to an active agent session. Use this to record progress, decisions, or issues during a work session.
Supports different log levels:
debug: Detailed tracing, rarely needed
info: General progress updates (default)
warning: Potential issues or concerns — a review verdict belongs here
error: Errors encountered during work
"warn" is accepted as an alias and stored as "warning". Anything else falls back to "info" — a rejected level would cost the entry, and a logged entry at the wrong level beats no entry at all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The agent session ID to log to | |
| level | No | Log level (default: info). "warn" is accepted and stored as "warning". | |
| message | Yes | The log message to record |