Implementation
gradeNot graded
gradeNot graded
contribute_knowledgeAction
街の暗黙知を1件登録する。閲覧者との会話から得た事実を構造化して渡す。自由文には氏名・住所・電話番号・診断名などを含めない。本人の実体験は experienced、又聞きは heard、推測は guess とする。
View tool JSON
{
"name": "contribute_knowledge",
"kind": "act",
"impl": "imperative",
"description": "街の暗黙知を1件登録する。閲覧者との会話から得た事実を構造化して渡す。自由文には氏名・住所・電話番号・診断名などを含めない。本人の実体験は experienced、又聞きは heard、推測は guess とする。",
"inputSchema": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"flood",
"darkness",
"narrow_path",
"barrier",
"safe_spot",
"other"
]
},
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"condition": {
"type": "string",
"enum": [
"always",
"rain",
"night",
"crowded"
]
},
"description": {
"type": "string",
"maxLength": 200
},
"confidence": {
"type": "string",
"enum": [
"experienced",
"heard",
"guess"
]
}
},
"required": [
"category",
"lat",
"lng",
"condition",
"description",
"confidence"
]
},
"page": "/livingtown/"
}verify_knowledgeAction
既存の暗黙知への追認または反証。ローカルデモではpseudonymous identifierを入力する。同じ暗黙知への同一識別子の重複投票は無視する。形式だけではPII非保持や本人性を保証しない。
View tool JSON
{
"name": "verify_knowledge",
"kind": "act",
"impl": "imperative",
"description": "既存の暗黙知への追認または反証。ローカルデモではpseudonymous identifierを入力する。同じ暗黙知への同一識別子の重複投票は無視する。形式だけではPII非保持や本人性を保証しない。",
"inputSchema": {
"type": "object",
"properties": {
"knowledge_id": {
"type": "string"
},
"verifier_id": {
"type": "string",
"pattern": "^anon-[A-Za-z0-9][A-Za-z0-9_-]{2,63}$"
},
"verdict": {
"type": "string",
"enum": [
"agree",
"disagree"
]
},
"comment": {
"type": "string",
"maxLength": 200
}
},
"required": [
"knowledge_id",
"verifier_id",
"verdict"
]
},
"page": "/livingtown/"
}query_areaAnswer
指定地点周辺の暗黙知を検索する。条件(雨・夜など)で絞り込める。
View tool JSON
{
"name": "query_area",
"kind": "answer",
"impl": "imperative",
"description": "指定地点周辺の暗黙知を検索する。条件(雨・夜など)で絞り込める。",
"inputSchema": {
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"radius_m": {
"type": "number",
"maximum": 2000
},
"category": {
"type": "string",
"enum": [
"flood",
"darkness",
"narrow_path",
"barrier",
"safe_spot",
"other"
]
},
"condition": {
"type": "string",
"enum": [
"always",
"rain",
"night",
"crowded"
]
}
},
"required": [
"lat",
"lng",
"radius_m"
]
},
"page": "/livingtown/"
}