Tool tree
Upload a photo and turn an everyday object into an interactive, safety-aware RE:PAIR workspace.
Implementation
gradeNot graded
gradeNot graded
get_workspace_stateAnswer
Read the visible RE:PAIR stage, generation progress, and available next actions.
View tool JSON
{
"name": "get_workspace_state",
"kind": "answer",
"impl": "imperative",
"description": "Read the visible RE:PAIR stage, generation progress, and available next actions.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {},
"additionalProperties": false
}
}select_demo_objectAction
Select a bundled broken cup or desk lamp image in the visible workspace for a reliable demonstration.
View tool JSON
{
"name": "select_demo_object",
"kind": "act",
"impl": "imperative",
"description": "Select a bundled broken cup or desk lamp image in the visible workspace for a reliable demonstration.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"sampleId": {
"type": "string",
"enum": [
"broken-cup",
"desk-lamp"
],
"description": "Bundled repair object to select: broken-cup or desk-lamp."
},
"expectedStateVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Current state version returned by get_workspace_state."
}
},
"required": [
"sampleId",
"expectedStateVersion"
],
"additionalProperties": false
}
}import_image_from_urlAction
Import a public CORS-enabled HTTPS JPEG, PNG, or WebP into the visible repair workspace.
View tool JSON
{
"name": "import_image_from_url",
"kind": "act",
"impl": "imperative",
"description": "Import a public CORS-enabled HTTPS JPEG, PNG, or WebP into the visible repair workspace.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"imageUrl": {
"type": "string",
"maxLength": 2048,
"pattern": "^https:\\/\\/[^\\s]+$",
"description": "Public CORS-enabled HTTPS URL for a JPEG, PNG, or WebP image."
},
"expectedStateVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Current state version returned by get_workspace_state."
}
},
"required": [
"imageUrl",
"expectedStateVersion"
],
"additionalProperties": false
}
}open_image_uploaderAction
Bring the image uploader into view and focus it. The person must press Enter or click to open the system picker.
View tool JSON
{
"name": "open_image_uploader",
"kind": "act",
"impl": "imperative",
"description": "Bring the image uploader into view and focus it. The person must press Enter or click to open the system picker.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"expectedStateVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Current state version returned by get_workspace_state."
}
},
"required": [
"expectedStateVersion"
],
"additionalProperties": false
}
}