On this page

Agents

list-peer-agents

List the peer agent connections this project holds. Each entry carries the connection_id an external agent node points at. Needs the fabric:orchestrate.read grant.

The shape of result for list-peer-agents is not recorded here: it was not captured against a live deployment. Call it once and read what comes back rather than assuming a shape.

curl -sS -X POST https://fabric.wexa.ai/mcp/$FABRIC_PROJECT_ID \
  -H "authorization: Bearer $FABRIC_API_KEY" \
  -H "Mcp-Session-Id: $MCP_SESSION_ID" \
  -H "content-type: application/json" -H "accept: application/json" \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"list-peer-agents","arguments":{}}}'

Parameters

ParameterTypeRequiredNotes
noneThis tool takes no parameters. Send an empty object.
More details

A peer agent connection is the registered link to an external agent on another platform, one that a process flow can hand a whole goal to. The connection_id goes on an interop_agent node as registration_id, so call this before you build one. A stored credential is never returned, in any form, masked or otherwise. It is supplied once, to register-peer-agent, and no tool gives it back.

Entry fields

FieldWhat it is
connection_idThe id an interop_agent node takes as registration_id, and the id delete-peer-agent takes.
name, descriptionThe name given at registration, unique within the project, and its description.
platformThe label for which platform the external agent runs on, as given at registration.
protocol, endpointmcp or a2a, and the external agent's URL.
stateDraft when registered, Active once a call to the external agent has gone through.
external_agent_name, declared_capabilityThe name and the description the external agent gave for itself.
declared_abilitiesThe abilities the external agent listed for itself. Absent when it listed none.

count is how many connections there are. The last three fields are what the external agent said about itself when it answered the handshake, and they are absent when it said nothing. declared_abilities are not skill ids: a skill is only ever what provisioning a connector mints, and an interop_agent node carries no skills.

Every tool call works the same way: How every tool call works.