← 返回提示词库
ClaudeIntermediateCoding

工具调用系统提示词设计器

为Tool Use智能体编写包含工具定义、调用判断标准及结果解读的完整系统提示词。

❤️ 623 likes

📋 提示词全文

为[智能体]设计Tool Use提示词。包含以下内容:1)工具列表(名称/描述/参数);2)调用/不调用的判断标准;3)结果解读方式;4)调用失败时的备用方案;5)最终响应格式规范。

💬 输入示例

场景:股票价格查询与投资组合分析智能体

✨ 输出示例

工具1:get_stock_price(参数:ticker符号,返回:实时价格) 工具2:analyze_portfolio(参数:持仓列表,返回:收益分析) 调用标准:用户提及具体股票代码时触发工具1 失败备案:调用失败时返回缓存数据并注明时间戳 响应格式:先展示数据,再给出分析建议。

🏷️ 标签

#工具调用#系统提示词#智能体设计#API集成#功能规范

💡 使用技巧

  • Replace the variables in brackets ([]) with your specific situation.
  • Specify the desired tone and length of writing for more accurate results.
  • Request additional modifications based on the generated output to improve quality.
  • Specifying a particular audience allows AI to adjust vocabulary and explanation level.

🔗 相关提示词

Effective Writing Strategies with AI

AI writing prompts let you efficiently produce blog posts, business emails, press releases, novels, and more. The key is to assign AI a precise role, and clearly specify the desired tone, length, and target audience. For example, requesting "write a 2000-word SEO-optimized blog post in a professional tone" yields significantly higher-quality output. After generating a draft, iterative feedback helps elevate the final quality step by step.

This prompt belongs to the Coding category, optimized for Claude at a Intermediate level. It is systematically designed applying core prompt engineering principles: role assignment, context setting, and constraints.

Explore More Prompts

Discover 90+ verified prompts in the PromptGenie library.

Browse Library