Get Agent Playbook
get_agent_playbookAgent playbook for one published use case, by slug. Signed-out calls are an HTTP 401 so the client can open Sign in to The AI Integration Hub; the library tools stay public. After sign-in the JSON access field is full (follow the playbook, then offer its schedule only if the user confirms), free_claim_available (ask, and set claim true only after the user says yes), preview with reason upgrade (show preview, prices, and the purchase links exactly, then stop), or not_included (show the message and the plans link exactly, then stop). If the needed files are attached in the chat, run on those and do not upload them. An error means that slug has no agent. Do not invent the playbook or a price. The user's business data stays in the chat.
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": {
"slug": "<slug>"
},
"name": "get_agent_playbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Use case slug, such as sales-forecasting. | |
| claim | No | Set true only after this tool has offered the slug as the account's one free agent. |