456
Prompt

Tool Calling Specification Prompt

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

1 min read

/ quick answer

Use before giving an agent access to APIs, databases, CRM actions, email sending, or operational tools. Design safe tool schemas before connecting an AI model to real actions.

Design safe tool schemas before connecting an AI model to real actions. Use before giving an agent access to APIs, databases, CRM actions, email sending, or operational tools. Copy the prompt below, swap the bracketed variables for your own context, and run it in any capable model. This prompt node is part of the Onexial knowledge graph and links to related concepts, workflows and tools below.
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
/ frequently asked

What does the Tool Calling Specification Prompt prompt do?

Use before giving an agent access to APIs, databases, CRM actions, email sending, or operational tools.

Which AI models work with this prompt?

It is model-agnostic: it works with any capable general model. Replace the bracketed variables with your own context before running it.

What output should I expect?

{ "tool_name": "create_crm_task", "human_review_required": true, "forbidden_actions": ["send_email_without_approval"] }.