mt_get_swarm_graph
Retrieves an agent's two-hop trust propagation graph, including scored agent nodes and endorsement edges, to show who endorses the agent and who endorses those endorsers.
Instructions
Get the trust propagation graph for an agent (2 hops).
Returns nodes (agents with scores) and edges (endorsements) showing who endorses this agent and who endorses them.
Args: did: DID of the agent to get graph for
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": {
"did": "<did>"
},
"name": "mt_get_swarm_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| did | Yes | DID of the agent to get graph for, e.g. did:moltrust:a1b2c3d4e5f60718 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |