115
Prompts/tool-calling-spec-prompt
Prompt

Tool Calling Specification Prompt

Design safe tool schemas before connecting an AI model to real actions.

Context
Use before giving an agent access to APIs, databases, CRM actions, email sending, or operational tools.
Prompt
You are an AI systems architect. Design a tool-calling specification for this workflow.

Workflow goal: {{workflow_goal}}
Allowed systems: {{allowed_systems}}
Risk constraints: {{risk_constraints}}

Return JSON with: tool_name, purpose, input_schema, output_schema, validation_rules, failure_modes, human_review_required, forbidden_actions.
Example Output
{ "tool_name": "create_crm_task", "human_review_required": true, "forbidden_actions": ["send_email_without_approval"] }
Related Workflow
Related Tool Stacks