Skip to main content
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

NameTypeDescription
org_idstringOrganization id. Optional when the user belongs to one organization; otherwise the error lists theirs.
source_kindrequiredenum: agent | form
source_idrequiredstringThe agent or form id (from agency_list_templates).
client_idsrequiredarray of stringThe clients to push to.