Skip to content

Commit cf38ad1

Browse files
committed
format and link absolution
1 parent e1c16d2 commit cf38ad1

File tree

4 files changed

+22
-15
lines changed

4 files changed

+22
-15
lines changed

docs/specification/2025-06-18/server/prompts.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,9 @@ Messages in a prompt can contain:
187187
- `content`: One of the following content types:
188188

189189
<Note>
190-
All content types in prompt messages support optional [annotations](/specification/2025-06-18/server/resources#annotations) for metadata about audience, priority, and modification times.
190+
All content types in prompt messages support optional
191+
[annotations](/specification/2025-06-18/server/resources#annotations) for
192+
metadata about audience, priority, and modification times.
191193
</Note>
192194

193195
#### Text Content

docs/specification/2025-06-18/server/tools.mdx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,10 @@ Tool results may contain [**structured**](#structured-content) or **unstructured
204204
**Unstructured** content is returned in the `content` field of a result, and can contain multiple content items of different types:
205205

206206
<Note>
207-
All content types (text, image, audio, resource links, and embedded resources) support optional [annotations](resources#annotations) that provide metadata about audience, priority, and modification times. This is the same annotation format used by resources and prompts.
207+
All content types (text, image, audio, resource links, and embedded resources)
208+
support optional [annotations](/specification/2025-06-18/server/resources#annotations) that provide metadata
209+
about audience, priority, and modification times. This is the same annotation
210+
format used by resources and prompts.
208211
</Note>
209212

210213
#### Text Content
@@ -262,8 +265,7 @@ or data. In this case, the tool will return a URI that can be subscribed to or f
262265
}
263266
```
264267

265-
Resource links support the same [Resource annotations](resources#annotations) as regular resources to help clients understand how to use them.
266-
268+
Resource links support the same [Resource annotations](/specification/2025-06-18/server/resources#annotations) as regular resources to help clients understand how to use them.
267269

268270
<Info>
269271
Resource links returned by tools are not guaranteed to appear in the results
@@ -284,16 +286,15 @@ or data using a suitable [URI scheme](./resources#common-uri-schemes). Servers t
284286
"mimeType": "text/x-rust",
285287
"text": "fn main() {\n println!(\"Hello world!\");\n}",
286288
"annotations": {
287-
"audience": ["user","assistant"],
289+
"audience": ["user", "assistant"],
288290
"priority": 0.7,
289291
"lastModified": "2025-05-03T14:30:00Z"
290292
}
291-
292293
}
293294
}
294295
```
295296

296-
Embedded resources support the same [Resource annotations](resources#annotations) as regular resources to help clients understand how to use them.
297+
Embedded resources support the same [Resource annotations](/specification/2025-06-18/server/resources#annotations) as regular resources to help clients understand how to use them.
297298

298299
#### Structured Content
299300

docs/specification/draft/server/prompts.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,9 @@ Messages in a prompt can contain:
187187
- `content`: One of the following content types:
188188

189189
<Note>
190-
All content types in prompt messages support optional [annotations](/specification/2025-06-18/server/resources#annotations) for metadata about audience, priority, and modification times.
190+
All content types in prompt messages support optional
191+
[annotations](/specification/2025-06-18/server/resources#annotations) for
192+
metadata about audience, priority, and modification times.
191193
</Note>
192194

193195
#### Text Content

docs/specification/draft/server/tools.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,10 @@ Tool results may contain [**structured**](#structured-content) or **unstructured
204204
**Unstructured** content is returned in the `content` field of a result, and can contain multiple content items of different types:
205205

206206
<Note>
207-
All content types (text, image, audio, resource links, and embedded resources) support optional [annotations](resources#annotations) that provide metadata about audience, priority, and modification times. This is the same annotation format used by resources and prompts.
207+
All content types (text, image, audio, resource links, and embedded resources)
208+
support optional [annotations](/specification/draft/server/resources#annotations) that provide metadata
209+
about audience, priority, and modification times. This is the same annotation
210+
format used by resources and prompts.
208211
</Note>
209212

210213
#### Text Content
@@ -226,7 +229,7 @@ All content types (text, image, audio, resource links, and embedded resources) s
226229
"annotations": {
227230
"audience": ["user"],
228231
"priority": 0.9
229-
}
232+
}
230233
}
231234
```
232235

@@ -255,8 +258,7 @@ or data. In this case, the tool will return a URI that can be subscribed to or f
255258
}
256259
```
257260

258-
Resource links support the same [Resource annotations](resources#annotations) as regular resources to help clients understand how to use them.
259-
261+
Resource links support the same [Resource annotations](/specification/draft/server/resources#annotations) as regular resources to help clients understand how to use them.
260262

261263
<Info>
262264
Resource links returned by tools are not guaranteed to appear in the results
@@ -277,15 +279,15 @@ or data using a suitable [URI scheme](./resources#common-uri-schemes). Servers t
277279
"mimeType": "text/x-rust",
278280
"text": "fn main() {\n println!(\"Hello world!\");\n}",
279281
"annotations": {
280-
"audience": ["user","assistant"],
282+
"audience": ["user", "assistant"],
281283
"priority": 0.7,
282284
"lastModified": "2025-05-03T14:30:00Z"
283-
}
285+
}
284286
}
285287
}
286288
```
287289

288-
Embedded resources support the same [Resource annotations](resources#annotations) as regular resources to help clients understand how to use them.
290+
Embedded resources support the same [Resource annotations](/specification/draft/server/resources#annotations) as regular resources to help clients understand how to use them.
289291

290292
#### Structured Content
291293

0 commit comments

Comments
 (0)