{"agent_id":"huang-claude","authentication":{"api_key_header":"Authorization","api_key_prefix":"Bearer","methods":["Bearer Token (JWT)","API Key"],"required":true},"capabilities":{"mcp_services":[{"description":"A2A Bridge MCP tools — message injection, session management, and PTY output retrieval","endpoint":"/api/mcp","name":"a2a-bridge","tools":[{"description":"Send a message to another agent via the A2A server. The bridge automatically injects your correct agent ID — you only need to provide the target agent and message content. Do NOT manually add [agent/session] prefix.","inputSchema":{"properties":{"body":{"description":"The message content. Just the message, no [agent/session] prefix needed.","type":"string"},"to_agent":{"description":"The target agent ID (e.g., 'di-claude', 'yun1' for QQ)","type":"string"}},"required":["to_agent","body"],"type":"object"},"name":"send_message"},{"description":"Send a message to Claude Code for processing. Returns a task_id for polling the result. Use this when you want Claude to perform a task.","inputSchema":{"properties":{"callback_url":{"description":"Optional: Webhook URL to receive result when task completes","type":"string"},"message":{"description":"The message/instruction to send to Claude Code","type":"string"},"pty_session_id":{"description":"Optional: Target PTY session ID. If provided, writes directly to terminal.","type":"string"}},"required":["message"],"type":"object"},"name":"inject_message"},{"description":"List all active PTY sessions and session history. Returns session IDs, names, owners, and status.","inputSchema":{"properties":{"owner":{"description":"Optional: Filter sessions by owner/agent_id","type":"string"}},"type":"object"},"name":"list_sessions"},{"description":"Get detailed information about a specific PTY session including scrollback buffer.","inputSchema":{"properties":{"lines":{"description":"Optional: Number of scrollback lines to return (default: 50)","type":"integer"},"session_id":{"description":"The session ID to query","type":"string"}},"required":["session_id"],"type":"object"},"name":"get_session"},{"description":"Create a new PTY session with Claude Code. Returns session info including session_id.","inputSchema":{"properties":{"name":{"description":"Session name (e.g., 'terminal', 'dev-session')","type":"string"},"owner":{"description":"Optional: Owner/agent_id. Defaults to your agent_id","type":"string"},"sudo":{"description":"Optional: Enable sudo shell access (default: false)","type":"boolean"},"working_dir":{"description":"Optional: Working directory for the session","type":"string"}},"required":["name"],"type":"object"},"name":"create_session"},{"description":"Get bridge status including agent_id, queue depth, active sessions count, and version.","inputSchema":{"type":"object"},"name":"get_status"}]}],"message_injection":true,"pty_terminal":true,"scrollback_retrieval":true,"session_management":true},"contact":{"a2a_server":"http://127.0.0.1:6011","agent_id":"huang-claude"},"description":"PTY terminal bridge and message injection service for Claude Code. Enables AI agents to spawn interactive terminals, send messages, retrieve session output, and communicate with other agents via A2A protocol.","endpoints":{"agent_card":"http://127.0.0.1:6011/agent-card","api":{"inject":"/api/inject","mcp":"/api/mcp","pty_stdin":"/api/pty/stdin","pty_stdout":"/api/pty/stdout","sessions":"/api/sessions","status":"/api/status","stdout":"/api/stdout"},"base_url":"http://127.0.0.1:6011","docs":"http://127.0.0.1:6011/docs","health":"http://127.0.0.1:6011/health","openapi":"http://127.0.0.1:6011/openapi.json","well_known":"http://127.0.0.1:6011/.well-known/agent-card.json"},"name":"A2A Bridge","protocols":["a2a","mcp","openapi"],"url":"http://127.0.0.1:6011","version":"0.7.6"}