Get agent source. Requires project.agents.read.
Arguments
agent_idstringrequiredThe stable agent_id returned by list_agents, not the display name. If only a name is known, list agents in the same project and source target first.
project_referencestringProject identifier or slug that scopes the tool call.
runtime_target_kindstring | nullProvide the runtime target kind.
target_environment_idstring · uuid | nullProvide the target environment id.
target_branch_idstring · uuid | nullProvide the target branch id.
source_target_kindstringProvide the source target kind. One of
project,main_branch,environment,preview_branch.
Responses
curl -X POST -N "https://api.veryfront.com/mcp" \ -H "Authorization: Bearer $VERYFRONT_API_KEY" \ -H "Accept: application/json, text/event-stream" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "veryfront__get_agent_source", "arguments": { "agent_id": "string" } }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"model\":\"string\",\"system_prompt\":\"string\",\"thinking\":{\"enabled\":false,\"budget_tokens\":1},\"temperature\":0,\"max_steps\":1,\"allowed_models\":[\"string\"],\"skill_ids\":[\"string\"],\"skill_selection\":{\"kind\":\"omitted\",\"skill_ids\":[\"string\"]},\"skill_resolution\":{\"policy\":{\"kind\":\"all-visible\",\"source\":\"omitted\"},\"skill_ids\":[\"string\"],\"source_paths\":{},\"unresolved_entry_indexes\":[0],\"catalog_status\":\"complete\",\"evidence_scope\":\"source_catalog\"},\"skills\":false,\"all_tools_enabled\":false,\"tool_ids\":[\"string\"],\"tools\":false,\"tool_loading\":\"eager\",\"tool_result_context\":false,\"provider_tool_ids\":[\"string\"],\"knowledge\":false,\"suggestions\":[\"string\"],\"avatar\":{\"seed\":\"string\",\"archetype\":\"upright\",\"texture\":\"string\",\"color\":\"#000000\",\"shape\":\"snircle\",\"matrix\":\"0000000000000000\"},\"avatar_url\":\"string\",\"security_enabled\":false,\"source_path\":\"string\",\"source\":\"string\",\"edit_mode\":\"structured\",\"source_only_reasons\":[\"string\"]}" } ], "structuredContent": { "id": "string", "name": "string", "description": "string", "model": "string", "system_prompt": "string", "thinking": { "enabled": false, "budget_tokens": 1 }, "temperature": 0, "max_steps": 1, "allowed_models": [ "string" ], "skill_ids": [ "string" ], "skill_selection": { "kind": "omitted", "skill_ids": [ "string" ] }, "skill_resolution": { "policy": { "kind": "all-visible", "source": "omitted" }, "skill_ids": [ "string" ], "source_paths": {}, "unresolved_entry_indexes": [0], "catalog_status": "complete", "evidence_scope": "source_catalog" }, "skills": false, "all_tools_enabled": false, "tool_ids": [ "string" ], "tools": false, "tool_loading": "eager", "tool_result_context": false, "provider_tool_ids": [ "string" ], "knowledge": false, "suggestions": [ "string" ], "avatar": { "seed": "string", "archetype": "upright", "texture": "string", "color": "#000000", "shape": "snircle", "matrix": "0000000000000000" }, "avatar_url": "string", "security_enabled": false, "source_path": "string", "source": "string", "edit_mode": "structured", "source_only_reasons": [ "string" ] } }}The tool ran; its output is result.structuredContent.