Skip to content

Commit 94af24c

Browse files
committed
clarification on new groups property
1 parent 397cb30 commit 94af24c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/community/seps/2084-primitive-groups.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ Response:
186186

187187
### Changes to Response Formats
188188

189-
As mentioned above, all primitives have a new property that appears in their list result. This includes `tools/list`, `resources/list`, `resources/templates/list`, `prompts/list`, `tasks/list`.
190-
Here is an example tool definition from `tools/list` response with new groups property:
189+
As mentioned above, all primitives, including `groups/list`, `prompts/list`, `resources/list`, `resources/templates/list`, `tasks/list`, and `tools/list`, have a new property that appears in their list result.
190+
Here is an example tool definition from `tools/list` response with new property in its `_meta` field:
191191

192192
```json
193193
{
@@ -205,7 +205,7 @@ Here is an example tool definition from `tools/list` response with new groups pr
205205
"required": ["expression"]
206206
},
207207
"_meta": {
208-
"io.modelcontextprotocol/groups": ["arithmetic"]
208+
"io.modelcontextprotocol/groups": ["arithmetic"] // New property
209209
}
210210
}
211211
```

seps/2084-primitive-groups.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ By listing a primitive's group memberships in a reserved `_meta` property, we en
132132
},
133133
```
134134

135-
### Groups Discovery Method: groups/list
135+
### Groups Discovery Method: `groups/list`
136136

137137
Request:
138138

@@ -169,8 +169,8 @@ Response:
169169

170170
### Changes to Response Formats
171171

172-
As mentioned above, all primitives have a new property that appears in their list result. This includes `tools/list`, `resources/list`, `resources/templates/list`, `prompts/list`, `tasks/list`.
173-
Here is an example tool definition from `tools/list` response with new groups property:
172+
As mentioned above, all primitives, including `groups/list`, `prompts/list`, `resources/list`, `resources/templates/list`, `tasks/list`, and `tools/list`, have a new property that appears in their list result.
173+
Here is an example tool definition from `tools/list` response with new property in its `_meta` field:
174174

175175
```json
176176
{
@@ -188,7 +188,7 @@ Here is an example tool definition from `tools/list` response with new groups pr
188188
"required": ["expression"]
189189
},
190190
"_meta": {
191-
"io.modelcontextprotocol/groups": ["arithmetic"]
191+
"io.modelcontextprotocol/groups": ["arithmetic"] // New property
192192
}
193193
}
194194
```

0 commit comments

Comments
 (0)