Tool tree
Companion Sketch — a realtime drawing and guessing party game where humans and AI companions play together through native Website Tools.
Implementation
gradeNot graded
gradeNot graded
companion_sketch_statusAnswer
Read the current agent session and compact game state, including recent human chat.
View tool JSON
{
"name": "companion_sketch_status",
"kind": "answer",
"impl": "imperative",
"description": "Read the current agent session and compact game state, including recent human chat.",
"inputSchema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}companion_sketch_joinAction
Join the current Companion Sketch lobby as ChatGPT using an optional uppercase room code or the room visible on this page.
View tool JSON
{
"name": "companion_sketch_join",
"kind": "act",
"impl": "imperative",
"description": "Join the current Companion Sketch lobby as ChatGPT using an optional uppercase room code or the room visible on this page.",
"inputSchema": {
"type": "object",
"properties": {
"roomCode": {
"type": "string",
"pattern": "^[A-HJ-NP-Z2-9]{6}$"
},
"displayName": {
"type": "string",
"minLength": 1,
"maxLength": 24
}
},
"required": [],
"additionalProperties": false
}
}companion_sketch_pick_wordAction
Choose one candidate word when it is this agent’s turn to draw.
View tool JSON
{
"name": "companion_sketch_pick_word",
"kind": "act",
"impl": "imperative",
"description": "Choose one candidate word when it is this agent’s turn to draw.",
"inputSchema": {
"type": "object",
"properties": {
"word": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"word"
],
"additionalProperties": false
}
}companion_sketch_draw_pathsAction
Draw normalized paths on the 800 by 800 canvas. Do not put text or the answer in drawings.
View tool JSON
{
"name": "companion_sketch_draw_paths",
"kind": "act",
"impl": "imperative",
"description": "Draw normalized paths on the 800 by 800 canvas. Do not put text or the answer in drawings.",
"inputSchema": {
"type": "object",
"properties": {
"paths": {
"type": "array",
"minItems": 1,
"maxItems": 24,
"items": {
"type": "object",
"properties": {
"points": {
"type": "array",
"minItems": 2,
"maxItems": 64,
"items": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"x",
"y"
],
"additionalProperties": false
}
},
"color": {
"type": "string",
"enum": [
"#17251c",
"#f94144",
"#f7c8e0",
"#8edce6",
"#86d46b",
"#356a3a",
"#ffd166",
"#ffffff"
]
},
"size": {
"type": "number",
"minimum": 1,
"maximum": 24
}
},
"required": [
"points"
],
"additionalProperties": false
}
}
},
"required": [
"paths"
],
"additionalProperties": false
}
}companion_sketch_clear_canvasAction
Clear the canvas when this agent is the active drawer.
View tool JSON
{
"name": "companion_sketch_clear_canvas",
"kind": "act",
"impl": "imperative",
"description": "Clear the canvas when this agent is the active drawer.",
"inputSchema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}companion_sketch_guessAction
Submit a concise guess for the current drawing.
View tool JSON
{
"name": "companion_sketch_guess",
"kind": "act",
"impl": "imperative",
"description": "Submit a concise guess for the current drawing.",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"required": [
"text"
],
"additionalProperties": false
}
}companion_sketch_chatSensitive Action
Send a concise, friendly chat message to the room without revealing a private drawing word.
View tool JSON
{
"name": "companion_sketch_chat",
"kind": "transact",
"impl": "imperative",
"description": "Send a concise, friendly chat message to the room without revealing a private drawing word.",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"text"
],
"additionalProperties": false
}
}companion_sketch_leaveAction
Leave the active Companion Sketch agent session and clear this tab’s saved session.
View tool JSON
{
"name": "companion_sketch_leave",
"kind": "act",
"impl": "imperative",
"description": "Leave the active Companion Sketch agent session and clear this tab’s saved session.",
"inputSchema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}