Connect an agent to a Wiro project
bind_agent_projectSets the Wiro project a deployed agent uses for its video and voice model runs, previewing the change first and applying it only after confirmation.
Instructions
Set the Wiro project a deployed agent's video and voice skills run models with (the Wiro AI Models credential, "wiro"), with no key in this chat. The wiro connector, which gives the agent its own model tools (wiro__*), always runs with this same project, and connecting it with connect_agent_connector binds its project here the same way; this tool does not connect that connector. Without project_id it takes the project of this connection; project_id takes one from list_projects. Call it without confirm first: it shows the project, what it replaces, whether a running agent restarts and which wallet pays for the agent's model runs, and changes nothing. After the user agrees, repeat the call as its nextAction shows, with confirm: true. Connecting the same project again changes nothing and does not restart the agent; if the project's secret changed, restart the agent with control_agent. On a team agent this needs a team admin or the person who deployed it.
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_guid": "<agent_guid>"
},
"name": "bind_agent_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false (default) only shows what would change. true connects the project. | |
| agent_guid | Yes | The deployed agent's guid, from list_my_agents. | |
| project_id | No | The id of a project, as a string, from list_projects. Leave it out for the project of this connection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| state | Yes | ||
| wallet | No | Which wallet pays for the model runs the agent starts. | |
| applied | No | 1 when the stored project changed, 0 when it was already this one. | |
| project | Yes | ||
| restart | No | scheduled: a running agent restarts with the project. none: nothing changed, or the agent is not running and reads it at its next start. failed: the project is saved, but the running agent needs control_agent restart. | |
| replaces | Yes | ||
| warnings | Yes | ||
| agentGuid | Yes | ||
| nextAction | No |