log_observation
Capture important tool execution results with session context, preserving key insights for future retrieval and end-of-session summaries.
Instructions
Log an observation from tool execution to build session memory.
AUTOMATIC TRIGGERS - Call this when:
A tool execution produces important or surprising results
You want to remember what happened during the session
Building up context for the end-of-session summary
This captures tool outputs for future memory retrieval. Call this after significant tool executions to build session memory.
WORKFLOW POSITION: Call after important tool executions throughout the session. The observation will be compressed and summarized for future retrieval.
PARAMETERS:
session_id: Active session identifier (from session_start)
tool_name: Tool that was executed (e.g., "web_search", "read_file")
tool_input: What was passed to the tool
tool_output: What the tool returned
NOTE: Don't log every single tool call - only significant ones with novel insights.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_name | Yes | ||
| session_id | Yes | ||
| tool_input | Yes | ||
| tool_output | Yes |