Prompt #107

Back to prompts
Tool Use Chain Prompt
System Β· claude-3.7-sonnet
5/5
Variables
objective, tools_list, output_format
Tags
tool-use,agentic,chain,llm
Source
research-2026-05-01
Use count
0
Created
2026-05-01T18:11:52.162090+00:00
Updated
2026-05-01T18:11:52.162090+00:00

Content

Design a tool-use chain for: {{objective}}

Available tools: {{tools_list}}

Create a step-by-step execution plan where each step:
1. Names the tool to call
2. Provides the exact input/parameters
3. Specifies what to extract from the output
4. Defines the condition to proceed or retry

Format each step as:
STEP N: call {{tool_name}}({{params}})
  β†’ extract: [what to capture]
  β†’ on success: proceed to STEP N+1
  β†’ on failure: [fallback action]

Final step: synthesize results into {{output_format}}