Skip to content

Dynamic Tool

Verified

Intent-based tool selection. Activate when you want to know which tools are relevant for the current user message (weather→exec, document→feishu_doc, search→...

79 downloads
$ Add to .claude/skills/

About This Skill

# Dynamic Tool Policy

When to use: Before calling many tools, or when the user message is about weather, search, documents, or Feishu — call `get_recommended_tools` with the latest user message to get a short list of recommended tools and a hint.

  • Intent mapping:
  • 天气 / weather / wttr → use exec (e.g. `curl wttr.in/<city>?format=3`)
  • 搜索 / search → use web_search once, then reply; do not call web_search again in the same turn
  • 文档 / create doc / 飞书文档 → use feishu_doc only when the user explicitly asks for a document
  • 读文件 / read file → read; 写/编辑 → write

Tool: `get_recommended_tools({ user_message })` → returns `recommended_tools` (array of tool names) and `hint` (short instruction).

Use Cases

  • Route user intents to the appropriate tool — weather queries to exec, documents to Feishu
  • Build dynamic tool selection pipelines that adapt to message content
  • Map natural language requests to specific API endpoints and tool calls
  • Create intent-classification layers for multi-tool AI agent systems
  • Reduce tool call errors by matching intent before invocation

Pros & Cons

Pros

  • +Intent-based routing reduces mismatched tool calls in complex agent systems
  • +Dynamic selection adapts to diverse user requests without hardcoded rules
  • +Useful as a middleware layer between user messages and tool execution

Cons

  • -Abstract concept with minimal implementation details
  • -Intent classification accuracy depends on the quality of the underlying model

FAQ

What does Dynamic Tool do?
Intent-based tool selection. Activate when you want to know which tools are relevant for the current user message (weather→exec, document→feishu_doc, search→...
What platforms support Dynamic Tool?
Dynamic Tool is available on Claude Code, OpenClaw.
What are the use cases for Dynamic Tool?
Route user intents to the appropriate tool — weather queries to exec, documents to Feishu. Build dynamic tool selection pipelines that adapt to message content. Map natural language requests to specific API endpoints and tool calls.

100+ free AI tools

Writing, PDF, image, and developer tools — all in your browser.