Skip to content

Invalild tool + execution aborted #11612

Closed as not planned
Closed as not planned

Description

@yoobi

Description

I am using auggie ACP with opencode because auggie is not yet in the provider list (I already made a request for that #10216).
Overall it is working correctly but recently I got this issue after a prompt. Not sure how to qualify it

⚙ invalid [tool=acp.acp_provider_agent_dynamic_tool, error=Model tried to call unavailable tool 'acp.acp_provider_agent_dynamic_tool'. Available tools: invalid, read, glob, grep, task, webfetch, todowrite, todoread, skill.]
⚙ invalid [tool=acp.acp_provider_agent_dynamic_tool, error=Model tried to call unavailable tool 'acp.acp_provider_agent_dynamic_tool'. Available tools: invalid, read, glob, grep, task, webfetch, todowrite, todoread, skill.]
Tool execution aborted
[
  {
    "code": "invalid_union",
    "errors": [
      [
        {
          "expected": "string",
          "code": "invalid_type",
          "path": [
            "state",
            "title"
          ],
          "message": "Invalid input: expected string, received undefined"
        },
        {
          "expected": "record",
          "code": "invalid_type",
          "path": [
            "state",
            "metadata"
          ],
          "message": "Invalid input: expected record, received undefined"
        }
      ],
      [
        {
          "expected": "object",
          "code": "invalid_type",
          "path": [
            "part"
          ],
          "message": "Invalid input: expected object, received undefined"
        },
        {
          "expected": "string",
          "code": "invalid_type",
          "path": [
            "delta"
          ],
          "message": "Invalid input: expected string, received undefined"
        }
      ],
      [
        {
          "expected": "object",
          "code": "invalid_type",
          "path": [
            "part"
          ],
          "message": "Invalid input: expected object, received undefined"
        },
        {
          "expected": "string",
          "code": "invalid_type",
          "path": [
            "delta"
          ],
          "message": "Invalid input: expected string, received undefined"
        }
      ]
    ],
    "path": [],
    "message": "Invalid input"
  }
] 

Plugins

No response

OpenCode version

1.1.36

Steps to reproduce

  1. Add auggie as acp (maybe it'll do the same with other acp)
  2. I have an agent such as (not sure if it is because of the agent or not)
---
description: Autonomous coordinator - analyzes tasks, delegates to specialists, synthesizes results
mode: primary
tools:
  write: false
  edit: false
  read: true
  bash: false
---
.....
  1. Make a prompt sometimes the stacktrace aboves appears

Screenshot and/or share link

No response

Operating System

macOS 26.1

Terminal

Warp

Activity

  1. added
    bugSomething isn't working
    on Feb 1, 2026
  2. github-actions commented on Feb 1, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if this doesn't match your specific case.

  3. exa160 commented on Mar 3, 2026

    @exa160

    I used glm5 in aisp and moore, also had this problem. But glm4.7 is all right.

  4. github-actions commented on May 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 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

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions