Skip to content

feat: expose subagent tool access config in /info endpoint #151

Description

@saharannaveen

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions