Docs menu
All MCP tools
MCP tools · Agency
agency_push_template
Copy an agent or form from the agency's home workspace into the named clients. Runs in the background: check it with agency_get_template_push. A client's live agent is never replaced without its own publish step. With an org key this may come back 202 pending_approval: a person approves it in the approvals inbox before it runs.
- Scope needed
- agency:write
- Acts as
- You, the signed-in member, with your role's permissions.
- Changes data
- Yes
- Held for approval
- No
- Available to
- Switched on per organization (agency tools, approved agencies only)
Inputs
| Name | Type | Description |
|---|---|---|
| org_id | string | Organization id. Optional when the user belongs to one organization; otherwise the error lists theirs. |
| source_kindrequired | enum: agent | form | |
| source_idrequired | string | The agent or form id (from agency_list_templates). |
| client_idsrequired | array of string | The clients to push to. |