Repository navigation
Expand file tree
/
Copy pathwebmcp.schema.json
More file actions
149 lines (149 loc) · 4.63 KB
/
Copy pathwebmcp.schema.json
File metadata and controls
149 lines (149 loc) · 4.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"tools": [
{
"name": "search_spec",
"title": "Search the spec",
"description": "Search The Website Specification for matching topics. Returns ranked results with title, status, category, canonical URL, and a one-line summary. Use this when the user asks about a topic by keyword (e.g. \"CSP\", \"alt text\", \"llms.txt\").",
"annotations": {
"readOnlyHint": true
},
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free-text query.",
"minLength": 1
},
"limit": {
"type": "integer",
"description": "Maximum results to return.",
"minimum": 1,
"maximum": 25,
"default": 5
}
},
"required": ["query"]
}
},
{
"name": "list_topics",
"title": "List spec topics",
"description": "List spec topics, optionally filtered by category and/or status. Returns title, status, category, summary, and URL per topic. Use this when the user wants the canonical list (e.g. \"all required SEO topics\"). Results are paged — follow page/page_size to walk the whole list.",
"annotations": {
"readOnlyHint": true
},
"inputSchema": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"foundations",
"seo",
"accessibility",
"security",
"well-known",
"agent-readiness",
"performance",
"privacy",
"resilience",
"i18n"
],
"description": "Restrict to one category."
},
"status": {
"type": "string",
"enum": ["required", "recommended", "optional", "avoid"],
"description": "Restrict to one status."
},
"page": {
"type": "integer",
"description": "Page of results to return.",
"minimum": 1,
"default": 1
},
"page_size": {
"type": "integer",
"description": "Topics per page.",
"minimum": 1,
"maximum": 50,
"default": 10
}
}
}
},
{
"name": "get_topic",
"title": "Read a spec topic",
"description": "Fetch the Markdown for one spec page by its slug, returned as lines you can page through. Use this after search_spec or list_topics to read the canonical guidance.",
"annotations": {
"readOnlyHint": true
},
"inputSchema": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "Kebab-case slug, as listed by list_topics or search_spec. Examples: 'content-security-policy', 'meta-robots', 'llms-txt'.",
"minLength": 1
},
"offset": {
"type": "integer",
"description": "First line to return (0-based).",
"minimum": 0,
"default": 0
},
"limit": {
"type": "integer",
"description": "Maximum lines to return.",
"minimum": 1,
"maximum": 500,
"default": 120
}
},
"required": ["slug"]
}
},
{
"name": "open_search",
"title": "Open site search",
"description": "Open the on-page ⌘K search overlay so the user can search the spec interactively. Optionally pre-fills a query. UI action — does not return results; use search_spec for that.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Optional initial query to pre-fill."
}
}
}
},
{
"name": "open_checklist",
"title": "Open the checklist",
"description": "Navigate the user to the full spec checklist page. Optionally jumps to a category section via URL hash. UI action — does not return data.",
"inputSchema": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"foundations",
"seo",
"accessibility",
"security",
"well-known",
"agent-readiness",
"performance",
"privacy",
"resilience",
"i18n"
],
"description": "Optional category to scroll to."
}
}
}
}
]
}