Skip to content

.opencode/agents/ folder agents are giving the <tool_call> response #12950

Closed

Description

@mahesh-muttinti

Question

I have been working on implementing/integrating the agents/sub agents in opencode tui. i followed the .opencode/agents and .opencode/prompts folder pattern which is also produced by opencode only when i asked like "Create agents/sub agents for multi tasking"

Image Image Image

This the one of the sub agent task output and giving same <tool_call> response every time i asked to do something with sub agents. Please correct me if i am doing this in wrong way

<tool_call>
{"name": "task", "arguments": {"description":"Generate comprehensive PR description","prompt":"Based on the git commit history and file changes I've analyzed, this branch implements a comprehensive feature flags and Sentry integration system along with OpenCode multi-agent workflow automation. 
Please create a detailed PR description that includes:
1. Summary: What this PR accomplishes overall
2. Key Changes: List of major components implemented
3. Feature Flags Integration: Complete OpenFeature + Sentry implementation
4. OpenCode Workflow: Multi-agent system setup
5. Code Standards: ESLint, Prettier, and commit standards
6. Documentation: New documentation and guides
7. Git Automation: Hooks and scripts
8. Testing: Testing strategy and examples
9. Deployment: Build and deployment considerations
10. Migration Guide: How to migrate from existing setup
Please make the description comprehensive, professional, and include all relevant technical details from the implementation. Reference the FEATURE-FLAGS-SENTRY-INTEGRATION-V2-REVIEWED.md document for specific technical details.","subagent_type":"pr-writer"}}
</tool_call>

Activity

  1. mahesh-muttinti commented on Feb 10, 2026

    @mahesh-muttinti
    Author

    Few issues/scenarios/observations where the above case would come

    1. Rate limit exceeded for model we attached to agents md files
    2. Due to that, the <tool_call> response coming and opencode not able to predict that and stuck there
    3. So, I have changed the model to other and now the subagents are working fine
    Image Image Image
  2. github-actions commented on Apr 12, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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