wafle_agents_create
Create a custom agent by cloning a pre-built template or defining system prompt, allowed tools, guardrails, and trigger settings.
Instructions
Create a new custom agent. Two paths:
from_template— clone one of the 5 pre-armed templates (customer-support-bot, content-writer-nightly, stock-watcher, abandoned-recovery, fraud-detector). Overrideslug/nameif needed.From scratch — supply
name,system_prompt,tools_allowed,guardrails,trigger_type(+ trigger_config). Usewafle_agents_tool_catalogfirst to see what tools exist.
Cost guardrail (max_cost_per_run_cents) is hard-capped at 5000 (USD 50). Max turns is hard-capped at 50.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| slug | Yes | Wafle store slug, e.g. 'gamerland' or 'lensitive'. | |
| model | No | ||
| max_turns | No | ||
| guardrails | No | Safety knobs: explicit approval list, all-destructive auto-approve gate, max-cost-per-run cap. | |
| description | No | ||
| temperature | No | ||
| trigger_type | No | ||
| from_template | No | ||
| system_prompt | No | ||
| tools_allowed | No | ||
| trigger_config | No | Trigger config: { event:'order.created' } | { cron:'0 3 * * *' } | { webhook_token:'...' }. | |
| tools_disallowed | No |