agent_functions_attach
Attach an existing Agent Function to one receptionist so it can call it on live calls. Additive: other functions stay. A Code function runs its saved tests first and stays unattached if any fails. Show the exact function, receptionist, behaviour, active state, endpoint (HTTP) and code/test summary (Code), then get explicit confirmation before calling. Never repeat secret header values.
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": {
"functionId": "<functionId>",
"agentId": "<agentId>"
},
"name": "agent_functions_attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | Receptionist ID from listAgents. | |
| functionId | Yes | Agent Function ID from agent_functions_list. |