Get agent
get-agentFetch a single counterparty (agent) by id.
WHEN TO USE:
To look up a customer, vendor, or employee record
To check an agent's contact info and source linkage before creating an event
To verify whether a counterparty exists before assigning agent_id on an event
PARAMETERS:
id (required): Agent id (agt_ prefixed ULID)
RETURNS: An AgentResponse with id, agent_type, name, legal_name, contact fields, source/external_id provenance, and is_active status.
RELATED TOOLS:
list-agents — browse agents with filters
agent-activity — events and transactions for an agent
create-event-block — record a business event with this agent as counterparty
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": "get-agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Agent id (agt_ prefixed) |