Skip to main content

Module calls

Module calls 

Source
Expand description

What one message said about a tool call, and the call those messages add up to.

The protocol lets every report after the first carry only what changed, and a permission request may name a call by its id alone. So a report is kept as sent — nothing filled in — and one record per call id is kept in which a field present replaces the stored value and a field absent or null leaves it alone. The policy reads that record.

Adapted from devplane’s acp::calls (same owner, MIT OR Apache-2.0).

Structs§

ToolReport
One message’s account of a tool call. Every field but the id is None when the message did not carry it.
ToolRequest
What an agent is asking to do, in the protocol’s terms: the title is prose for a person; the kind, the raw input and the locations are what the policy reads — never the title.