Tree Examples - Paint
Visualization for the Local Paint MCP Server Example
From the MCP Examples
Step 1

This just invokes the get_image MCP Tool every time the function call completes (or in other words Event 28:AI_MESSAGE_COMPLETED basically means every time an AI message is completed).
Step 2

- In Step 1 we requesst the image from the Local MCP server. As this can take some time, we don't receive the response from the MCP Server in the same node but again via an Event instead.
21:MCP_TEXT_RESULTis the result we receive from theMcpActionand the node injects its text result into the Node Flow.SetPalAvatarActionreceives the text base 64 encoded image and replaces the current Pal Avatar with the image.
Result
We can observe the AI Char drawing with the basic shape-drawing tools (Input: Draw the letter A):
