Build the WebMCP tools that let an agent read the nodes graph and add, move, restyle, link, reverse and delete its
nodes and links, with the same rules the editor applies. Failures are returned as { ok: false, error } rather
than thrown, because browsers hide thrown errors from the agent.
Build the WebMCP tools that let an agent read the nodes graph and add, move, restyle, link, reverse and delete its nodes and links, with the same rules the editor applies. Failures are returned as
{ ok: false, error }rather than thrown, because browsers hide thrown errors from the agent.