Skip to content

Commit af8b19a

Browse files
Add icons property to Data Types sections in specification docs
The icons property was already shown in JSON examples but was missing from the formal Data Types documentation for Prompt, Resource, and Tool. Fixes modelcontextprotocol#1967 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 575485d commit af8b19a

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

docs/specification/2025-11-25/server/prompts.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ A prompt definition includes:
184184
- `name`: Unique identifier for the prompt
185185
- `title`: Optional human-readable name of the prompt for display purposes.
186186
- `description`: Optional human-readable description
187+
- `icons`: Optional array of icons for display in user interfaces
187188
- `arguments`: Optional list of arguments for customization
188189

189190
### PromptMessage

docs/specification/2025-11-25/server/resources.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ A resource definition includes:
289289
- `name`: The name of the resource.
290290
- `title`: Optional human-readable name of the resource for display purposes.
291291
- `description`: Optional description
292+
- `icons`: Optional array of icons for display in user interfaces
292293
- `mimeType`: Optional MIME type
293294
- `size`: Optional size in bytes
294295

docs/specification/2025-11-25/server/tools.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ A tool definition includes:
193193
- `name`: Unique identifier for the tool
194194
- `title`: Optional human-readable name of the tool for display purposes.
195195
- `description`: Human-readable description of functionality
196+
- `icons`: Optional array of icons for display in user interfaces
196197
- `inputSchema`: JSON Schema defining expected parameters
197198
- Follows the [JSON Schema usage guidelines](/specification/2025-11-25/basic#json-schema-usage)
198199
- Defaults to 2020-12 if no `$schema` field is present

docs/specification/draft/server/prompts.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ A prompt definition includes:
184184
- `name`: Unique identifier for the prompt
185185
- `title`: Optional human-readable name of the prompt for display purposes.
186186
- `description`: Optional human-readable description
187+
- `icons`: Optional array of icons for display in user interfaces
187188
- `arguments`: Optional list of arguments for customization
188189

189190
### PromptMessage

docs/specification/draft/server/resources.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ A resource definition includes:
289289
- `name`: The name of the resource.
290290
- `title`: Optional human-readable name of the resource for display purposes.
291291
- `description`: Optional description
292+
- `icons`: Optional array of icons for display in user interfaces
292293
- `mimeType`: Optional MIME type
293294
- `size`: Optional size in bytes
294295

docs/specification/draft/server/tools.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ A tool definition includes:
193193
- `name`: Unique identifier for the tool
194194
- `title`: Optional human-readable name of the tool for display purposes.
195195
- `description`: Human-readable description of functionality
196+
- `icons`: Optional array of icons for display in user interfaces
196197
- `inputSchema`: JSON Schema defining expected parameters
197198
- Follows the [JSON Schema usage guidelines](/specification/draft/basic#json-schema-usage)
198199
- Defaults to 2020-12 if no `$schema` field is present

0 commit comments

Comments
 (0)