Agent activity
agent-activityFetch recent events and transactions for a counterparty.
WHEN TO USE:
To review a customer's or vendor's event history
To answer "what has happened with this counterparty?"
To find all transactions triggered by events from this agent
AR/AP analysis starting from a specific counterparty
PARAMETERS:
id (required): Agent id (agt_ prefixed ULID)
entity_id (optional): the entity whose dealings with this counterparty to read; omit for the group parent. The group shares the counterparty, and each entity's events with it are its own
limit (optional, default 100, max 1000): max events and transactions returned
RETURNS:
agent: full AgentResponse
entity_id: the entity the lists and counts are scoped to
recent_events: list of EventBlockEnvelopes for this agent (desc by occurred_at)
recent_transactions: list of transactions triggered by those events
event_count: total event count for this agent
transaction_count: total transaction count
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "agent-activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Agent id (agt_ prefixed) | |
| limit | No | ||
| entity_id | No | The entity whose books this acts on, by id (get-graph-info lists them). Omit for the group parent. |