Add profile_id support to list_tools
ListToolsTool now accepts an optional `profile_id` parameter. When
provided, it returns only the tools enabled for that specific profile
(enabled_tools + user tools + resolved MCP tools). This helps the agent
preview what a profile can do before switching.

- Updated ListToolsTool.execute() with profile-aware filtering
- Patched _profile_registry in build_default_registries
- Patched _mcp_manager in main.py startup loop

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 8f4543a commit 8cace8fa77f33cd7f7df27a805612224ceaf41ca
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 13 May
Showing 3 changed files
View
navi/core/registry.py
View
navi/main.py
View
navi/tools/list_tools.py