Draft an internal agent
draft_internal_agentCreates a DRAFT internal agent: an agent that works for the team on a schedule, on demand or when something happens (deal changed stage, lead qualified, conversation waiting for a person, conversation resolved, new form contact). It reads the account and can only leave internal notes, alert the team, add labels, assign conversations, move deals or draft campaigns — never message customers. Nothing runs until a person reviews, tests and publishes it in the app (review_url). Use the minimum reads/actions; risky actions default to mode=approval.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"instructions": "<instructions>"
},
"name": "draft_internal_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Internal agent's name. | |
| reads | No | What it can read (contacts, conversations, deals, templates, results). | |
| actions | No | nota = internal note, avisar = alert the team, etiqueta = label, atribuir = assign conversation, mover_negocio = move deal, rascunho_campanha = campaign draft. | |
| dry_run | No | true = run every check and return what WOULD happen, without doing it. | |
| trigger | No | When it runs: manual, schedule (days + hour) or event. | |
| instructions | Yes | What it should do, step by step (Portuguese is best: it runs for a Brazilian team). |