Make a playbook step
run_playbook_stepMake the part of a playbook step that PopNow does on its side (the step from use_playbook says when): pass the session and the slots that step lists. It quotes the total in PopNow credits first; after the user agrees, call it again with the same slots plus max_credits. Returns a batch_id; check it with get_batch.
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": {
"session": "<session>",
"step": "<step>"
},
"name": "run_playbook_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | Yes | The number of the step you are making (from the use_playbook answer). | |
| slots | No | What this step asks for, by slot name: a text, or a list of texts for list slots. | |
| consent | No | Only when the step says so: set true only after the user confirms the face and voice in what they brought are theirs or they have the person's permission, nobody in it is under 18, and it won't be used to mislead anyone, including about who someone is, or for anything unlawful. Never set it on your own. | |
| session | Yes | The session from use_playbook. | |
| retry_of | No | Only to make this step again after its batch failed: that batch_id. | |
| max_credits | No | The most PopNow credits the user agreed to spend on this step. Only set it after the user confirmed the quoted total. |