-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.json
More file actions
89 lines (89 loc) · 2.73 KB
/
schema.json
File metadata and controls
89 lines (89 loc) · 2.73 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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/WebMCP-Tools/tools/schema.json",
"title": "WebMCP Tool Configuration",
"description": "Schema for tool config.json files in the WebMCP-Tools/tools repository",
"type": "object",
"required": [
"id",
"name",
"description",
"category",
"icon",
"version",
"author",
"tags",
"tools"
],
"properties": {
"id": {
"type": "string",
"description": "Unique tool identifier (must match folder name)",
"pattern": "^[a-z0-9-]+$"
},
"name": {
"type": "string",
"description": "Human-readable tool name"
},
"description": {
"type": "string",
"description": "Brief description of the tool set"
},
"category": {
"type": "string",
"description": "Tool category (e.g. CMS, E-Commerce, Starter)"
},
"icon": {
"type": "string",
"description": "Icon name from the Lucide icon set"
},
"version": {
"type": "string",
"description": "Semantic version",
"pattern": "^\\d+\\.\\d+\\.\\d+$"
},
"author": {
"type": "string",
"description": "Author name or organization"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Searchable tags"
},
"tools": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"name",
"description",
"inputSchema",
"readOnly"
],
"properties": {
"name": {
"type": "string",
"description": "Function name (must match export in handler.js)",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"description": {
"type": "string",
"description": "What this tool does"
},
"inputSchema": {
"type": "object",
"description": "JSON Schema for tool input parameters"
},
"readOnly": {
"type": "boolean",
"description": "Whether the tool only reads data (true) or can mutate state (false)"
}
}
}
}
}
}