Assign a tool
Assign a workspace tool to an agent. The tool must belong to the agent’s workspace. Idempotent — re-assigning an already-linked tool changes nothing. Refused (409) if the tool name collides with a builtin in the agent’s preset or another assigned tool. The tool set is part of the configuration, so a new link bumps the agent’s version.
Access: workspace_admin · API key agents:write
api-keyAuthorizationBearer <sk_waylo_<lookup><secret><checksum>>agentId*stringapplication/json- body
toolId*stringuuidCreated
curl -X POST 'https://api.poc.app.waylovoice.ai/agents/string/tools' \ -H 'Authorization: Bearer sk_waylo_...' \ -H 'Content-Type: application/json' \ -d '{ "toolId": "4ff05811-a7af-43b0-84ca-ea7fa7a23c07"}'Unassign a document DELETE
Remove the link between an agent and a document. The document itself is untouched. The document set is part of the configuration, so this bumps the agent’s `version`. **Access:** workspace_admin · API key `agents:write`
List an agent's tools GET
The tools assigned to one agent, active or not, with their full definitions — most recently assigned first. **Access:** workspace_viewer · API key `agents:read` + `tools:read`