openclaw - 💡(How to fix) Fix [Bug]: openclaw(2026.4.2 版本)调用 tool 时,回答的问题总是一段工具调用的代码,而不是直接返回结果,这个问题应该怎么解决? [3 comments, 4 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#61827Fetched 2026-04-08 02:53:56
View on GitHub
Comments
3
Participants
4
Timeline
6
Reactions
0
Author
Timeline (top)
commented ×3labeled ×2closed ×1

用户:用tavily search openclaw:好的,我先看一下 tavily-search 的使用方法,然后直接给你搜索结果。 <|tool_calls_section_begin|> <|tool_call_begin|> functions.read:13 <|tool_call_argument_begin|> {"file": "/Users/macbook/.openclaw/workspace/skills/openclaw-tavily-search-0-1-0/SKILL.md"} <|tool_call_end|> <|tool_calls_section_end|> 用户:能用吗 openclaw:<|tool_calls_section_begin|> <|tool_call_begin|> functions.read:14 <|tool_call_argument_begin|> {"file": "/Users/macbook/.openclaw/workspace/skills/openclaw-tavily-search-0-1-0/SKILL.md"} <|tool_call_end|> <|tool_calls_section_end|> 用户:看不懂 openclaw:抱歉,让我直接搜索并给你结果。 <|tool_calls_section_begin|> <|tool_call_begin|> functions.exec:15 <|tool_call_argument_begin|> {"command": "openclaw skill tavily-search search "日经225指数 韩国KOSPI指数 2026年4月6日 今日走势"", "description": "Search for Japan and Korea stock market today"} <|tool_call_end|> <|tool_calls_section_end|>

Root Cause

用户:用tavily search openclaw:好的,我先看一下 tavily-search 的使用方法,然后直接给你搜索结果。 <|tool_calls_section_begin|> <|tool_call_begin|> functions.read:13 <|tool_call_argument_begin|> {"file": "/Users/macbook/.openclaw/workspace/skills/openclaw-tavily-search-0-1-0/SKILL.md"} <|tool_call_end|> <|tool_calls_section_end|> 用户:能用吗 openclaw:<|tool_calls_section_begin|> <|tool_call_begin|> functions.read:14 <|tool_call_argument_begin|> {"file": "/Users/macbook/.openclaw/workspace/skills/openclaw-tavily-search-0-1-0/SKILL.md"} <|tool_call_end|> <|tool_calls_section_end|> 用户:看不懂 openclaw:抱歉,让我直接搜索并给你结果。 <|tool_calls_section_begin|> <|tool_call_begin|> functions.exec:15 <|tool_call_argument_begin|> {"command": "openclaw skill tavily-search search "日经225指数 韩国KOSPI指数 2026年4月6日 今日走势"", "description": "Search for Japan and Korea stock market today"} <|tool_call_end|> <|tool_calls_section_end|>

RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

用户:用tavily search openclaw:好的,我先看一下 tavily-search 的使用方法,然后直接给你搜索结果。 <|tool_calls_section_begin|> <|tool_call_begin|> functions.read:13 <|tool_call_argument_begin|> {"file": "/Users/macbook/.openclaw/workspace/skills/openclaw-tavily-search-0-1-0/SKILL.md"} <|tool_call_end|> <|tool_calls_section_end|> 用户:能用吗 openclaw:<|tool_calls_section_begin|> <|tool_call_begin|> functions.read:14 <|tool_call_argument_begin|> {"file": "/Users/macbook/.openclaw/workspace/skills/openclaw-tavily-search-0-1-0/SKILL.md"} <|tool_call_end|> <|tool_calls_section_end|> 用户:看不懂 openclaw:抱歉,让我直接搜索并给你结果。 <|tool_calls_section_begin|> <|tool_call_begin|> functions.exec:15 <|tool_call_argument_begin|> {"command": "openclaw skill tavily-search search "日经225指数 韩国KOSPI指数 2026年4月6日 今日走势"", "description": "Search for Japan and Korea stock market today"} <|tool_call_end|> <|tool_calls_section_end|>

Steps to reproduce

openclaw(2026.4.2 版本)调用 tool 时,回答的问题总是一段工具调用的代码,而不是直接返回结果,这个问题应该怎么解决?

Expected behavior

openclaw(2026.4.2 版本)调用 tool 时,回答的问题总是一段工具调用的代码,而不是直接返回结果,这个问题应该怎么解决?

Actual behavior

openclaw(2026.4.2 版本)调用 tool 时,回答的问题总是一段工具调用的代码,而不是直接返回结果,这个问题应该怎么解决?

OpenClaw version

2026.4.2

Operating system

mac OS

Install method

homebrew

Model

kimi 2.5

Provider / routing chain

kimi

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

The issue with OpenClaw returning tool call code instead of results may be resolved by checking the configuration or implementation of the functions.exec and functions.read calls.

Guidance

  • Review the functions.exec and functions.read calls in the OpenClaw code to ensure they are correctly implemented and configured to return results instead of code.
  • Check the file paths and commands being passed to these functions, such as "/Users/macbook/.openclaw/workspace/skills/openclaw-tavily-search-0-1-0/[SKILL.md](http://skill.md/)" and "openclaw skill tavily-search search \"日经225指数 韩国KOSPI指数 2026年4月6日 今日走势\"" to ensure they are correct.
  • Verify that the kimi 2.5 model and kimi provider are properly set up and configured to work with OpenClaw.
  • Check the OpenClaw documentation and version notes for any known issues or changes related to tool calls and result handling in version 2026.4.2.

Example

No specific code example can be provided without more information about the OpenClaw implementation and configuration.

Notes

The issue may be specific to the 2026.4.2 version of OpenClaw or the kimi 2.5 model, and further investigation is needed to determine the root cause.

Recommendation

Apply workaround: Check and modify the functions.exec and functions.read calls to ensure correct implementation and configuration, as this is the most likely cause of the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

openclaw(2026.4.2 版本)调用 tool 时,回答的问题总是一段工具调用的代码,而不是直接返回结果,这个问题应该怎么解决?

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: openclaw(2026.4.2 版本)调用 tool 时,回答的问题总是一段工具调用的代码,而不是直接返回结果,这个问题应该怎么解决? [3 comments, 4 participants]