Tool tree
An open-source clean-room demonstration of three page-scoped Site Tools on a visible eight-stage surrogate journey guide.
Implementation
gradeNot graded
gradeNot graded
get_surrogate_journeyAnswer
Read the same eight-stage journey shown on this page. This does not change, save, or submit anything.
View tool JSON
{
"name": "get_surrogate_journey",
"kind": "answer",
"impl": "imperative",
"description": "Read the same eight-stage journey shown on this page. This does not change, save, or submit anything.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/surrogate-guide-site-tools-demo/"
}show_surrogate_stageAction
Move this page to one of eight visible journey stages. This changes only the current view and URL fragment.
View tool JSON
{
"name": "show_surrogate_stage",
"kind": "act",
"impl": "imperative",
"description": "Move this page to one of eight visible journey stages. This changes only the current view and URL fragment.",
"inputSchema": {
"type": "object",
"properties": {
"stage": {
"type": "string",
"enum": [
"fit",
"application",
"screening",
"matching",
"clearance",
"transfer",
"pregnancy",
"delivery"
],
"description": "The visible journey stage to show."
}
},
"required": [
"stage"
],
"additionalProperties": false
},
"page": "/surrogate-guide-site-tools-demo/"
}build_surrogate_preparation_checklistAction
Select one to six visible preparation areas. The checklist stays editable on this page and is never saved or submitted.
View tool JSON
{
"name": "build_surrogate_preparation_checklist",
"kind": "act",
"impl": "imperative",
"description": "Select one to six visible preparation areas. The checklist stays editable on this page and is never saved or submitted.",
"inputSchema": {
"type": "object",
"properties": {
"preparation_areas": {
"type": "array",
"items": {
"type": "string",
"enum": [
"pregnancy_records",
"home_support",
"childcare_plan",
"work_schedule",
"coordinator_questions",
"travel_readiness"
]
},
"minItems": 1,
"maxItems": 6,
"uniqueItems": true,
"description": "The preparation areas to select in the visible checklist."
}
},
"required": [
"preparation_areas"
],
"additionalProperties": false
},
"page": "/surrogate-guide-site-tools-demo/"
}