Tool tree
Nambut is an AI Interactive Introduction Card designed for the WebMCP Challenge. Build and explore with AI agents.
Implementation
gradeNot graded
gradeNot graded
get_portfolioAnswer
Get current portfolio title, background settings, and active canvas elements
View tool JSON
{
"name": "get_portfolio",
"kind": "answer",
"impl": "imperative",
"description": "Get current portfolio title, background settings, and active canvas elements",
"inputSchema": {
"type": "object",
"properties": {}
}
}add_elementAction
Add a new element (text, button, image, card) to the portfolio canvas
View tool JSON
{
"name": "add_element",
"kind": "act",
"impl": "imperative",
"description": "Add a new element (text, button, image, card) to the portfolio canvas",
"inputSchema": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text",
"button",
"image",
"card"
],
"description": "Type of component to create"
},
"content": {
"type": "string",
"description": "Text content or image URL"
},
"x": {
"type": "number",
"description": "X position coordinate in pixels"
},
"y": {
"type": "number",
"description": "Y position coordinate in pixels"
},
"w": {
"type": "number",
"description": "Width in pixels"
},
"h": {
"type": "number",
"description": "Height in pixels"
},
"style": {
"type": "object",
"description": "Custom CSS properties object (e.g. { color: \"#fff\", background: \"#ec4899\", borderRadius: \"12px\", fontSize: \"24px\" })"
}
},
"required": [
"type",
"content"
]
}
}update_element_styleAction
Update CSS style properties of an element by ID
View tool JSON
{
"name": "update_element_style",
"kind": "act",
"impl": "imperative",
"description": "Update CSS style properties of an element by ID",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Target element ID"
},
"style": {
"type": "object",
"description": "CSS properties object to merge"
}
},
"required": [
"id",
"style"
]
}
}move_elementAction
Move an element to specific (x, y) coordinates on the canvas
View tool JSON
{
"name": "move_element",
"kind": "act",
"impl": "imperative",
"description": "Move an element to specific (x, y) coordinates on the canvas",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Target element ID"
},
"x": {
"type": "number",
"description": "New X position in pixels"
},
"y": {
"type": "number",
"description": "New Y position in pixels"
}
},
"required": [
"id",
"x",
"y"
]
}
}resize_elementAction
Resize an element width (w) and height (h) in pixels
View tool JSON
{
"name": "resize_element",
"kind": "act",
"impl": "imperative",
"description": "Resize an element width (w) and height (h) in pixels",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Target element ID"
},
"w": {
"type": "number",
"description": "New width in pixels"
},
"h": {
"type": "number",
"description": "New height in pixels"
}
},
"required": [
"id",
"w",
"h"
]
}
}delete_elementSensitive Action
Delete an element from the portfolio canvas by its ID
View tool JSON
{
"name": "delete_element",
"kind": "transact",
"impl": "imperative",
"description": "Delete an element from the portfolio canvas by its ID",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Element ID to delete"
}
},
"required": [
"id"
]
}
}update_backgroundAction
Update portfolio background color, background image, or size
View tool JSON
{
"name": "update_background",
"kind": "act",
"impl": "imperative",
"description": "Update portfolio background color, background image, or size",
"inputSchema": {
"type": "object",
"properties": {
"backgroundColor": {
"type": "string",
"description": "Solid color or CSS gradient string"
},
"backgroundImage": {
"type": "string",
"description": "Image URL or \"none\""
},
"backgroundSize": {
"type": "string",
"description": "\"cover\", \"contain\", or \"auto\""
}
}
}
}apply_templateAction
Apply a pre-built template design (minimal, creative, blank)
View tool JSON
{
"name": "apply_template",
"kind": "act",
"impl": "imperative",
"description": "Apply a pre-built template design (minimal, creative, blank)",
"inputSchema": {
"type": "object",
"properties": {
"templateName": {
"type": "string",
"enum": [
"minimal",
"creative",
"blank"
],
"description": "Template key name"
}
},
"required": [
"templateName"
]
}
}clear_canvasAction
Clear all elements from the active canvas
View tool JSON
{
"name": "clear_canvas",
"kind": "act",
"impl": "imperative",
"description": "Clear all elements from the active canvas",
"inputSchema": {
"type": "object",
"properties": {}
}
}