Tool tree
A whiteboard people draw on and agents edit at the same time, on the same canvas, through WebMCP tools.
Implementation
gradeNot graded
gradeNot graded
create_noteAction
Add a sticky note to the whiteboard. Omit x and y to place it automatically in free space.
View tool JSON
{
"name": "create_note",
"kind": "act",
"impl": "imperative",
"description": "Add a sticky note to the whiteboard. Omit x and y to place it automatically in free space.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "The text to write on the note."
},
"x": {
"type": "number",
"description": "Board x coordinate. Omit to place the element automatically in free space."
},
"y": {
"type": "number",
"description": "Board y coordinate. Omit to place the element automatically in free space."
}
},
"required": [
"text"
]
}
}create_shapeAction
Draw a labelled rectangle, ellipse or diamond. Use this for diagram boxes rather than sticky notes. Omit x and y to place it automatically.
View tool JSON
{
"name": "create_shape",
"kind": "act",
"impl": "imperative",
"description": "Draw a labelled rectangle, ellipse or diamond. Use this for diagram boxes rather than sticky notes. Omit x and y to place it automatically.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"shape": {
"type": "string",
"enum": [
"rectangle",
"ellipse",
"diamond"
],
"description": "Shape outline. Rectangles suit steps and services, diamonds suit decisions, ellipses suit start and end points."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "The text to write on the note."
},
"x": {
"type": "number",
"description": "Board x coordinate. Omit to place the element automatically in free space."
},
"y": {
"type": "number",
"description": "Board y coordinate. Omit to place the element automatically in free space."
},
"width": {
"type": "number",
"description": "Width in board units. Defaults to 200."
},
"height": {
"type": "number",
"description": "Height in board units. Defaults to 100."
}
},
"required": [
"shape"
]
}
}create_diagramAction
Draw a whole diagram at once: several labelled boxes plus the arrows between them, laid out and connected in a single call. Each node takes a short key that edges reference. Prefer this over repeated create_shape and connect_elements calls.
View tool JSON
{
"name": "create_diagram",
"kind": "act",
"impl": "imperative",
"description": "Draw a whole diagram at once: several labelled boxes plus the arrows between them, laid out and connected in a single call. Each node takes a short key that edges reference. Prefer this over repeated create_shape and connect_elements calls.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"nodes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"minLength": 1,
"description": "A short name for this node, used by edges in this same call."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "The text to write on the note."
},
"shape": {
"type": "string",
"enum": [
"rectangle",
"ellipse",
"diamond"
],
"description": "Shape outline. Rectangles suit steps and services, diamonds suit decisions, ellipses suit start and end points."
}
},
"required": [
"key",
"text"
]
},
"description": "The boxes to draw, in reading order."
},
"edges": {
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "The key of the source node."
},
"to": {
"type": "string",
"description": "The key of the target node."
},
"label": {
"type": "string",
"description": "Optional text to write along the arrow."
}
},
"required": [
"from",
"to"
]
},
"description": "Arrows between nodes, referenced by their keys."
},
"direction": {
"type": "string",
"enum": [
"horizontal",
"vertical"
],
"description": "Flow direction. Defaults to horizontal."
}
},
"required": [
"nodes"
]
}
}