get-agent
Read one agent from the project's agent registry: its title, role, description, model, skills, context tags and knowledge-base setting. Needs the fabric:orchestrate.read grant.
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":"get-agent","arguments":{"agent_id":"6ab1945e7566f41b5c28e303.6ab1945e83ff5845d7db96bc"}}}'{
"content": [
{
"type": "text",
"text": "{\"lifecycle_id\":\"qlc_000175\",\"result\":{\"agent_id\":\"6ab1945e7566f41b5c28e303.6ab1945e83ff5845d7db96bc\",\"title\":\"docs-fixture-agent\",\"role\":\"tester\",\"description\":\"A stable agent the documentation cites.\",\"model\":\"system_model\",\"skills\":[],\"has_knowledge_base\":false}}"
}
],
"isError": false
}Parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
agent_id | string | Required | The id list-agents and create-agent return, which is also the id the console shows in its URL. An agent in this project. |
Show full response
A real response, captured from a live call to get-agent:
{
"content": [
{
"type": "text",
"text": "{\"lifecycle_id\":\"qlc_000175\",\"result\":{\"agent_id\":\"6ab1945e7566f41b5c28e303.6ab1945e83ff5845d7db96bc\",\"context\":[],\"description\":\"A stable agent the documentation cites.\",\"has_knowledge_base\":false,\"is_promoted\":false,\"model\":\"system_model\",\"prompt\":{\"display_template\":\"Reply with READY.\",\"template\":\"Reply with READY.\",\"variables\":[]},\"role\":\"tester\",\"role_description\":\"A stable agent the documentation cites.\",\"skills\":[],\"title\":\"docs-fixture-agent\",\"triggers\":[]}}"
}
],
"isError": false
}More details
For a multi-agent process flow use get-process-flow instead.
Every tool call works the same way: How every tool call works.