publish_agent
Control agent availability by publishing to handle live conversations or unpublishing to return to draft status.
Instructions
Publish or unpublish an agent. Published agents are live and handle incoming conversations. Unpublished agents are in "draft" status.
Requires role: owner, admin, or developer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | The MongoDB ID of the agent | |
| publish | Yes | true = publish (go live), false = unpublish (back to draft) |