Implementation
gradeNot graded
gradeNot graded
describe_appAnswer
Describe the current validated AppSpec without changing it.
View tool JSON
{
"name": "describe_app",
"kind": "answer",
"impl": "imperative",
"description": "Describe the current validated AppSpec without changing it.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}list_componentsAnswer
List every component with its stable ID, type, parent, and children.
View tool JSON
{
"name": "list_components",
"kind": "answer",
"impl": "imperative",
"description": "List every component with its stable ID, type, parent, and children.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}add_componentAction
Add one supported component to a parent through the validated Command Runtime.
View tool JSON
{
"name": "add_component",
"kind": "act",
"impl": "imperative",
"description": "Add one supported component to a parent through the validated Command Runtime.",
"inputSchema": {
"type": "object",
"properties": {
"parentId": {
"type": "string"
},
"componentType": {
"type": "string",
"enum": [
"Page",
"Stack",
"Card",
"Text",
"Metric",
"Button",
"Input",
"Select"
]
},
"props": {
"type": "object",
"additionalProperties": true
},
"index": {
"type": "integer",
"minimum": 0
}
},
"required": [
"parentId",
"componentType"
],
"additionalProperties": false
}
}update_componentAction
Update allowed properties on one component through the validated Command Runtime.
View tool JSON
{
"name": "update_component",
"kind": "act",
"impl": "imperative",
"description": "Update allowed properties on one component through the validated Command Runtime.",
"inputSchema": {
"type": "object",
"properties": {
"nodeId": {
"type": "string"
},
"props": {
"type": "object",
"additionalProperties": true
}
},
"required": [
"nodeId",
"props"
],
"additionalProperties": false
}
}move_componentAction
Move a component to a valid parent and index without creating cycles.
View tool JSON
{
"name": "move_component",
"kind": "act",
"impl": "imperative",
"description": "Move a component to a valid parent and index without creating cycles.",
"inputSchema": {
"type": "object",
"properties": {
"nodeId": {
"type": "string"
},
"newParentId": {
"type": "string"
},
"index": {
"type": "integer",
"minimum": 0
}
},
"required": [
"nodeId",
"newParentId",
"index"
],
"additionalProperties": false
}
}remove_componentAction
Preview or confirm recursive component removal. First call without a token never changes state.
View tool JSON
{
"name": "remove_component",
"kind": "act",
"impl": "imperative",
"description": "Preview or confirm recursive component removal. First call without a token never changes state.",
"inputSchema": {
"type": "object",
"properties": {
"nodeId": {
"type": "string"
},
"confirmationToken": {
"type": "string"
}
},
"required": [
"nodeId"
],
"additionalProperties": false
}
}validate_appAnswer
Validate the current AppSpec and return path-level errors without changing it.
View tool JSON
{
"name": "validate_app",
"kind": "answer",
"impl": "imperative",
"description": "Validate the current AppSpec and return path-level errors without changing it.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}undo_last_changeAction
Undo the most recent committed write through the shared Command Runtime.
View tool JSON
{
"name": "undo_last_change",
"kind": "act",
"impl": "imperative",
"description": "Undo the most recent committed write through the shared Command Runtime.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}