grokbot_draft
Send an email or Slack draft from a Grok Bot cloud agent; provide exactly one draft type to queue outbound communication.
Instructions
Send an email or Slack draft. Exactly one of email or slack is required.
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": {
"agent_id": "<agent_id>",
"entry_id": "<entry_id>"
},
"name": "grokbot_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email draft {to, cc, from, subject, body} | ||
| slack | No | Slack draft {target, body, workspace, thread} | |
| agent_id | Yes | ||
| entry_id | Yes | ||
| session_id | No | Chat session id; default empty MAIN transcript |