Skip to content

[Question] Skills在使用“渐进式工具 Tool 披露”,使用人工介入(Human-in-the-Loop)时,No ToolCallback found for tool name #4606

Open

Description

@1327011055

Question

Skills在使用“渐进式工具 Tool 披露”,使用人工介入(Human-in-the-Loop)点击确认时,会报错
java.lang.IllegalStateException: No ToolCallback found for tool name: queryTool
at com.alibaba.cloud.ai.graph.agent.node.AgentToolNode.lambda$executeToolCallWithInterceptors$4(AgentToolNode.java:547) ~[spring-ai-alibaba-agent-framework-1.1.2.2.jar:1.1.2.2]
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoCompletionStage] :
reactor.core.publisher.Mono.fromFuture(Mono.java:629)
com.alibaba.cloud.ai.graph.executor.NodeExecutor.executeNode(NodeExecutor.java:126)
Error has been observed at the following site(s):

Activity

  1. suwe12 commented on May 8, 2026

    @suwe12

    有实例代码吗

  2. benym commented on May 11, 2026

    @benym
    Contributor

    It is still likely that the model has a certain probability of returning an unknown ToolCall. Skill is merely a trigger point.
    releated to #4525

  3. silent1995 commented on Aug 26, 2026

    @silent1995

    他说的应该是tool只绑定到skill上,并且在inteceptor设置了在该工具被调用前中断,因为我也遇到了这种情况。

  4. dangzitou commented on Aug 30, 2026

    @dangzitou
    Contributor

    I reproduced this on current main. The dynamic callback exposed by SkillsInterceptor is stored only in the first run's RunnableConfig.context; HITL resume normally creates a new config, so AgentToolNode cannot resolve the approved tool.

    I am working on a focused fix that keeps progressive schema disclosure unchanged while allowing Skill-managed callbacks to be resolved again for execution after resume, with a deterministic regression test covering read_skill -> dynamic tool -> HITL -> approve -> execute.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions