nomadro/packages/sdk/tools.json
Eric ffa456afdf Ship social join profile + SeaweedFS avatars, notify/coffee, and .com audience stack.
Pay-then-profile join desk with live card, S3 upload fallback, hydration-safe drafts; document on test9 README.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-04 02:25:05 +08:00

154 lines
4.1 KiB
JSON

[
{
"name": "health",
"description": "Portal + public API health probe.",
"method": "GET",
"path": "/health",
"inputSchema": { "type": "object", "properties": {} }
},
{
"name": "getMeta",
"description": "Platform metadata: version, audience lanes (cn/intl), portal routes, deploy targets (.com first).",
"method": "GET",
"path": "/meta",
"inputSchema": { "type": "object", "properties": {} }
},
{
"name": "getConfig",
"description": "Sanitized remote config (modules / flags / copy). Offline-safe when server falls back to seed.",
"method": "GET",
"path": "/config",
"inputSchema": { "type": "object", "properties": {} }
},
{
"name": "listMapCities",
"description": "Geo discovery city pins for /social/map (lat/lng + vibe).",
"method": "GET",
"path": "/social/cities",
"inputSchema": {
"type": "object",
"properties": {
"west": { "type": "number" },
"south": { "type": "number" },
"east": { "type": "number" },
"north": { "type": "number" }
}
}
},
{
"name": "searchCities",
"description": "Search cities (seed + Photon when available).",
"method": "GET",
"path": "/social/cities/search",
"inputSchema": {
"type": "object",
"properties": {
"q": { "type": "string", "description": "Query, e.g. Bangkok" },
"limit": { "type": "number" },
"lang": { "type": "string", "description": "zh | en" }
},
"required": ["q"]
}
},
{
"name": "listMeetups",
"description": "List video/voice meetup rooms (MiroTalk / native live).",
"method": "GET",
"path": "/social/meetups",
"inputSchema": {
"type": "object",
"properties": { "keyword": { "type": "string" } }
}
},
{
"name": "openMeetup",
"description": "Resolve deep-link / handoff for a meetup room.",
"method": "GET",
"path": "/social/meetups/{meetupId}",
"inputSchema": {
"type": "object",
"properties": {
"meetupId": { "type": "string" },
"nick": { "type": "string" }
},
"required": ["meetupId"]
}
},
{
"name": "listGigs",
"description": "List team / co-create gigs (volunteer / parttime / fulltime).",
"method": "GET",
"path": "/social/gigs",
"inputSchema": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": ["all", "volunteer", "parttime", "fulltime"]
},
"keyword": { "type": "string" }
}
}
},
{
"name": "applyGig",
"description": "Submit a gig application (name + contact required).",
"method": "POST",
"path": "/social/gigs/{gigId}/apply",
"inputSchema": {
"type": "object",
"properties": {
"gigId": { "type": "string" },
"name": { "type": "string" },
"contact": { "type": "string" },
"note": { "type": "string" }
},
"required": ["gigId", "name", "contact"]
}
},
{
"name": "joinSocial",
"description": "Join-social handoff (paid community join; isolated from VIP __vip__).",
"method": "GET",
"path": "/social/join",
"inputSchema": {
"type": "object",
"properties": {
"email": { "type": "string" },
"locale": { "type": "string" }
}
}
},
{
"name": "checkVip",
"description": "Check VIP status by email (read-only).",
"method": "GET",
"path": "/vip/check",
"inputSchema": {
"type": "object",
"properties": { "email": { "type": "string" } },
"required": ["email"]
}
},
{
"name": "listNavLinks",
"description": "Digital nomad navigation link catalog (offline seed).",
"method": "GET",
"path": "/nav/links",
"inputSchema": {
"type": "object",
"properties": {
"q": { "type": "string" },
"limit": { "type": "number" }
}
}
},
{
"name": "listSocialRoutes",
"description": "Social hub IA routes for agents / mini-programs.",
"method": "GET",
"path": "/social/routes",
"inputSchema": { "type": "object", "properties": {} }
}
]