Change an AI agent’s public link
set_agent_public_linkPublish, disable, or rename a hosted AI agent's public link, change its conversation limits, turn live conversations on or off, or replace the shared conversations on its page. Confirm the user's intent before publishing, changing a public address, raising or removing a limit, or sharing a recording. Publishing allows anonymous visitors to start browser calls billed to this workspace, unless live_enabled is false. Renaming releases the old address. Disabling keeps the address, limits and recordings. A first publish requires slug and enabled=true. recordings replaces the whole list (at most 5, from list_agent_public_link_recording_candidates); a call not made by the workspace's own team needs consent_confirmed=true, which only the user may confirm. Sending recordings needs recordings:read, and the result lists the shared conversations only with it. Set phone_number_ids to replace the public list, or [] to clear it. Selecting numbers requires numbers:read and the user’s intent to publish those digits. Omit any field you want to preserve.
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": {
"agent_id": "<agent_id>"
},
"name": "set_agent_public_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | The last segment of the URL. After trimming and lowercasing it must have 3 to 40 characters and contain letters a-z, digits, and single hyphens between words. Reserved addresses are refused. | |
| enabled | No | True makes a hosted AI agent publicly callable. False keeps the URL reserved and turns off public access. | |
| agent_id | Yes | ||
| project_id | No | ||
| recordings | No | Replaces the whole list of shared conversations shown on the page, in this order: at most 5, each a finished call with this AI agent whose recording is 15 s to 10 min long. Any refused entry refuses the whole request with 422 and a code per entry. Recordings stay while they are on the page. | |
| live_enabled | No | False keeps the page and its recordings up but lets no visitor start a conversation. | |
| recordings_etag | No | Sent with recordings: the recordings_etag last read. A different current list answers 409. | |
| phone_number_ids | No | Replace the ordered list of inbound numbers shown on the public Talk page. Each added number must already route to this AI agent. A nonempty list requires numbers:read. Send [] to clear it, or omit it to preserve the current selection. | |
| consent_confirmed | No | Sent with recordings. True confirms the callers agreed to their recording being shared outside the workspace; required when a newly added recording is of a call not made by the workspace's team. | |
| concurrent_conversations | No | How many conversations may run on this link at the same time: 3 until changed, 1 to max_concurrent_conversations. One visitor holds at most 2 at once whatever this is. | |
| daily_conversations_per_visitor | No | How many conversations one visitor may start on this link in a UTC day: 10 until changed, 1 to 1000, or null for no limit. Every conversation is billed to the workspace. |