Summary
Extend the /info endpoint to include a tool_access section exposing orchestrator and subagent tool access configuration (allowed_tools, denied_tools, tool_approval).
Context
The UI and gateway need visibility into which tools each agent (orchestrator + subagents) can access to render tool access controls and validate permissions before invocation. Currently, /info only returns {name, oauth_mcps}.
Changes (PR #112)
- Extended
/info in deep_agent/aegra/mcp_routes.py to include tool_access
- Exposes orchestrator's and each subagent's
allowed_tools, denied_tools, and tool_approval from agent config frontmatter
- Disabled
human_approval default in agent.yaml for tool approval demo flow
Related
Summary
Extend the
/infoendpoint to include atool_accesssection exposing orchestrator and subagent tool access configuration (allowed_tools, denied_tools, tool_approval).Context
The UI and gateway need visibility into which tools each agent (orchestrator + subagents) can access to render tool access controls and validate permissions before invocation. Currently,
/infoonly returns{name, oauth_mcps}.Changes (PR #112)
/infoindeep_agent/aegra/mcp_routes.pyto includetool_accessallowed_tools,denied_tools, andtool_approvalfrom agent config frontmatterhuman_approvaldefault inagent.yamlfor tool approval demo flowRelated