Tool tree
gradeNot graded
get_seating_stateAnswer
Read the current guests, tables, assignments, locked guests, hard constraints, violations, and revision. This tool is read-only and should be called before any write tool.
View tool JSON
{
"name": "get_seating_state",
"kind": "answer",
"impl": "imperative",
"description": "Read the current guests, tables, assignments, locked guests, hard constraints, violations, and revision. This tool is read-only and should be called before any write tool.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}add_seating_constraintsAction
Add one or more hard constraints to the current seating board. This changes live page state. Pass the revision returned by get_seating_state so a stale agent write cannot overwrite newer human work.
View tool JSON
{
"name": "add_seating_constraints",
"kind": "act",
"impl": "imperative",
"description": "Add one or more hard constraints to the current seating board. This changes live page state. Pass the revision returned by get_seating_state so a stale agent write cannot overwrite newer human work.",
"inputSchema": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "The exact revision returned by get_seating_state."
},
"constraints": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"const": "together",
"description": "Seat both guests at one table."
},
"guestIds": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 2,
"maxItems": 2,
"uniqueItems": true,
"description": "Two different guest IDs from get_seating_state."
}
},
"required": [
"type",
"guestIds"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"const": "apart",
"description": "Seat both guests at different tables."
},
"guestIds": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 2,
"maxItems": 2,
"uniqueItems": true,
"description": "Two different guest IDs from get_seating_state."
}
},
"required": [
"type",
"guestIds"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"const": "fixed_table",
"description": "Require one guest at one table."
},
"guestId": {
"type": "string",
"description": "A guest ID from get_seating_state."
},
"tableId": {
"type": "string",
"description": "A table ID from get_seating_state."
}
},
"required": [
"type",
"guestId",
"tableId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"const": "accessible_table",
"description": "Require an accessible table for one guest."
},
"guestId": {
"type": "string",
"description": "A guest ID from get_seating_state."
}
},
"required": [
"type",
"guestId"
],
"additionalProperties": false
}
]
},
"minItems": 1,
"maxItems": 12,
"description": "One to twelve validated hard seating constraints."
}
},
"required": [
"expectedRevision",
"constraints"
],
"additionalProperties": false
}
}repair_seating_planAction
Compute and apply a valid seating plan for the current live board. By default the solver preserves human-locked guests and minimizes other moves. This changes assignments but never applies a partial or invalid result.
View tool JSON
{
"name": "repair_seating_plan",
"kind": "act",
"impl": "imperative",
"description": "Compute and apply a valid seating plan for the current live board. By default the solver preserves human-locked guests and minimizes other moves. This changes assignments but never applies a partial or invalid result.",
"inputSchema": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "The exact revision returned by get_seating_state."
},
"respectLocks": {
"type": "boolean",
"const": true,
"default": true,
"description": "Must be true. Unlock a guest in the page before allowing the agent to move them."
},
"preserveCurrentAssignments": {
"type": "boolean",
"default": true,
"description": "Minimize moves among guests who are not locked."
}
},
"required": [
"expectedRevision"
],
"additionalProperties": false
}
}validate_seating_planAnswer
Check the current live seating board for unseated guests, capacity problems, and hard-constraint violations. This tool is read-only and does not change page state.
View tool JSON
{
"name": "validate_seating_plan",
"kind": "answer",
"impl": "imperative",
"description": "Check the current live seating board for unseated guests, capacity problems, and hard-constraint violations. This tool is read-only and does not change page state.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}