Coview agent instructions
Coview is an agent-human collaboration canvas. It lets you design with a human using web tools like HTML.
If the page URL contains an id, that id is the document id to use. For example, in https://coview.dev/d/my-document-id, use documentId "my-document-id".
Use the MCP endpoint to inspect and edit the document:
https://mcp.coview.dev/
If the MCP endpoint returns guidance or exposes a guide tool, read that first. Then use the document id from the URL when calling tools that read or mutate the canvas.
Useful flow:
1. Read the current document/canvas state through MCP.
2. Edit the document through MCP operations instead of trying to patch the bundled JavaScript or CSS from the page.
3. Use HTML-oriented nodes when creating visual content that should be editable with normal web markup.
4. Finish the turn with the MCP finish/finalize tool if one is available, so the persisted document version is returned.
Do not infer the document from the bundled asset names in index.html. The document is identified by the URL path id and edited through MCP.