Tool tree
SplitTrip: an agent proposes and revises a fair group-trip allocation through WebMCP tools, with a human approval gate before anything locks.
Implementation
gradeNot graded
gradeNot graded
get_trip_contextAnswer
Return the authoritative travelers and their preferences, contributions, pooled budget, constraints, fairness/approval/itinerary planning rules, and item catalog.
View tool JSON
{
"name": "get_trip_context",
"kind": "answer",
"impl": "imperative",
"description": "Return the authoritative travelers and their preferences, contributions, pooled budget, constraints, fairness/approval/itinerary planning rules, and item catalog.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
}
}get_allocation_statusAnswer
Return the current proposal, per-traveler fairness validation, named approval progress, and lock status.
View tool JSON
{
"name": "get_allocation_status",
"kind": "answer",
"impl": "imperative",
"description": "Return the current proposal, per-traveler fairness validation, named approval progress, and lock status.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
}
}propose_allocationAction
Submit a complete initial set of catalog item IDs and a rationale. Include exactly one lodging and satisfy budget, fairness, schedule, capacity, transport, and location rules. Only available when no proposal exists.
View tool JSON
{
"name": "propose_allocation",
"kind": "act",
"impl": "imperative",
"description": "Submit a complete initial set of catalog item IDs and a rationale. Include exactly one lodging and satisfy budget, fairness, schedule, capacity, transport, and location rules. Only available when no proposal exists.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"itemIds": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "A catalog item ID."
},
"description": "The complete set of catalog item IDs in this allocation."
},
"rationale": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "A short explanation of why this allocation satisfies the group's constraints."
}
},
"required": [
"itemIds",
"rationale"
]
}
}