AgentToolActivityEvent

One tool request or tool result in an agent's saved conversation.

  • Ties a tool request to its result within the same agent message.

  • tool_called for a tool request, tool_result for its result.

    values
    task_startedtool_calledtool_resulttask_finished
  • The recorded order of this event within this activity, from 0.

  • When the event happened, only when the record holds that time. Never the time the agent state was saved.

  • returned or error when the recorded result says so; otherwise null.

    values
    returnederrortimeoutcancelled
  • How much of the payload payload_text shows.

    values
    fullredactedtruncatedredacted_truncatedunavailable
  • A sanitized preview of the tool input or the tool result. Credential fields show as [redacted]. Null when no preview is available or the whole payload was withheld.

  • The tool that was called. Null when a recorded result has no recorded request.

  • The index of the last visible transcript message before this event, when it can be placed.