t1288.3: Enable openapi-search MCP for Build+, AI-DevOps, Research agents#2094
t1288.3: Enable openapi-search MCP for Build+, AI-DevOps, Research agents#2094marcusquinn merged 1 commit intomainfrom
Conversation
…s (t1288.3) openapi-search was already configured as a lazy-loaded MCP disabled globally. This enables openapi-search_* tools for three specific agents: - Build+: via AGENT_TOOLS (primary agent) - Research: via AGENT_TOOLS (primary agent) - AI-DevOps: via subagent stub generator case statement Chose to add aidevops to the subagent case statement (matching existing patterns like openapi-search, claude-code, playwriter) since AI-DevOps is a subagent, not a primary agent.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
WalkthroughEnables OpenAPI search tooling across Build+, Onboarding, and Research agent tool sets. Adds openapi-search_* to per-agent extra-tools for subagent generation, ensuring the capability is included in AIDevOps subagent tool definitions. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Sat Feb 21 07:37:17 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
|
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
.agents/scripts/generate-opencode-agents.sh (1)
130-146:⚠️ Potential issue | 🟡 MinorUpdate the stale log message at line 678 downstream of this change.
Adding
openapi-search_*: Trueto primary-agentAGENT_TOOLSmakes the existing print at line 678 inaccurate — it still reads"@openapi-search subagent only", but Build+ (and Research per segment below) now also carry the tool permission.📝 Suggested fix at line 678
- print(" Added openapi-search MCP (lazy load - `@openapi-search` subagent only)") + print(" Added openapi-search MCP (lazy load - Build+/Research primary agents + `@openapi-search/`@aidevops subagents)")🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.agents/scripts/generate-opencode-agents.sh around lines 130 - 146, The log/print that still reads "@openapi-search subagent only" is now incorrect because AGENT_TOOLS was updated to include "openapi-search_*": True for Build+ (and Research), so update the message referenced by that print to reflect that openapi-search is enabled for those agent segments (e.g., remove "only" or change to "@openapi-search subagent enabled for Build+ and Research"), locating the statement that mentions "@openapi-search subagent only" and replacing it with the corrected wording so it matches the AGENT_TOOLS configuration.
🧹 Nitpick comments (1)
.agents/scripts/generate-opencode-agents.sh (1)
754-756: Consider addingwebfetch: trueto theaidevopssubagent for consistency with its peers.The
openapi-searchstandalone subagent (line 751) and theResearchprimary agent (line 177) both pairopenapi-search_*withwebfetch. Theaidevopsbase template only providesreadandbash, so direct URL fetching (e.g. fetching an OpenAPI spec URL returned by the tool) falls back tocurlviabashrather than the nativewebfetchtool. If that's intentional, it's fine — otherwise:♻️ Suggested addition
aidevops) - extra_tools=$' openapi-search_*: true' + extra_tools=$' openapi-search_*: true\n webfetch: true' ;;🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.agents/scripts/generate-opencode-agents.sh around lines 754 - 756, The aidevops subagent configuration currently sets extra_tools to include openapi-search_* but omits webfetch, causing URL fetching to fall back to curl/bash; update the aidevops case that sets extra_tools (the aidevops block) to also include webfetch: true alongside openapi-search_* so the subagent can use the native webfetch tool when the openapi-search tool returns a URL or spec. Ensure the change mirrors the pairing used by the openapi-search standalone subagent and the Research agent (openapi-search_* + webfetch).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Outside diff comments:
In @.agents/scripts/generate-opencode-agents.sh:
- Around line 130-146: The log/print that still reads "@openapi-search subagent
only" is now incorrect because AGENT_TOOLS was updated to include
"openapi-search_*": True for Build+ (and Research), so update the message
referenced by that print to reflect that openapi-search is enabled for those
agent segments (e.g., remove "only" or change to "@openapi-search subagent
enabled for Build+ and Research"), locating the statement that mentions
"@openapi-search subagent only" and replacing it with the corrected wording so
it matches the AGENT_TOOLS configuration.
---
Nitpick comments:
In @.agents/scripts/generate-opencode-agents.sh:
- Around line 754-756: The aidevops subagent configuration currently sets
extra_tools to include openapi-search_* but omits webfetch, causing URL fetching
to fall back to curl/bash; update the aidevops case that sets extra_tools (the
aidevops block) to also include webfetch: true alongside openapi-search_* so the
subagent can use the native webfetch tool when the openapi-search tool returns a
URL or spec. Ensure the change mirrors the pairing used by the openapi-search
standalone subagent and the Research agent (openapi-search_* + webfetch).



Summary
openapi-search_*: truefor Build+, AI-DevOps, and Research agents only (disabled globally for all others)AGENT_TOOLSdict (primary agents)aidevopscase to subagent stub generator (subagent withopenapi-search_*: true)AGENT_TOOLSandDEFAULT_TOOLSsectionsThe
openapi-searchMCP server was already configured as lazy-loaded and disabled globally. This change selectively enables the tools for three agents that benefit from API exploration capabilities.Ref #2071
Summary by CodeRabbit
New Features
Documentation