Skip to main content

Module node_tool

Module node_tool 

Expand description

Wraps a node capability as a zeroclaw Tool so it can be dispatched through the existing tool registry and agent loop. Tool names are prefixed with the node ID: node:<node_id>:<capability_name>.

Structsยง

NodeTool
A zeroclaw Tool backed by a node capability. The prefixed_name (e.g. node:phone-1:camera.snap) is what the agent loop sees. Invocations are routed to the connected node via WebSocket.