add_activity_log
Log agent tool calls to an append-only audit trail for tracking session activities, including inputs, outputs, duration, and status.
Instructions
Log an agent tool call to the activity audit trail (append-only).
Args: session_id: Session identifier. agent_id: Agent that made the call (e.g. oncoteam). tool_name: Name of the tool that was called. input_summary: Brief summary of the input parameters. output_summary: Brief summary of the output. duration_ms: How long the call took in milliseconds. status: Result status (ok, error, timeout). error_message: Error details if status is not ok. tags: JSON array of tags (e.g. '["research","pubmed"]').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| agent_id | Yes | ||
| tool_name | Yes | ||
| input_summary | No | ||
| output_summary | No | ||
| duration_ms | No | ||
| status | No | ok | |
| error_message | No | ||
| tags | No | [] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |