orxtra v0.13.0 /tool.src.orxtra.tool._notepad_tool
On this page

The notepad tool: records a typed entry (learning, decision, or issue) to the run's shared notepad via trace_writer, visible to every agent in the run across task boundaries.

#tool.src.orxtra.tool._notepad_tool

#tool.src.orxtra.tool._notepad_tool

#make_notepad_tool

python
def make_notepad_tool(trace_writer: Any, run_id: str, task_name: str, agent_name: str) -> Tool

Create a notepad tool for recording entries to the shared notepad.

Args:

  • trace_writer: Writer instance with a write_notepad_entry method.
  • run_id: The current run identifier.
  • task_name: The current task name.
  • agent_name: The agent recording the entry.

Returns:

  • A Tool instance for notepad operations.
Search