|
1 | 1 | {
|
2 | 2 | "$schema": "http://json-schema.org/draft-07/schema#",
|
3 | 3 | "definitions": {
|
4 |
| - "Annotated": { |
5 |
| - "description": "Base for objects that include optional annotations for the client. The client can use annotations to inform how objects are used or displayed", |
| 4 | + "Annotations": { |
| 5 | + "description": "Optional annotations for the client. The client can use annotations to inform how objects are used or displayed", |
6 | 6 | "properties": {
|
7 |
| - "annotations": { |
8 |
| - "properties": { |
9 |
| - "audience": { |
10 |
| - "description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).", |
11 |
| - "items": { |
12 |
| - "$ref": "#/definitions/Role" |
13 |
| - }, |
14 |
| - "type": "array" |
15 |
| - }, |
16 |
| - "priority": { |
17 |
| - "description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.", |
18 |
| - "maximum": 1, |
19 |
| - "minimum": 0, |
20 |
| - "type": "number" |
21 |
| - } |
| 7 | + "audience": { |
| 8 | + "description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).", |
| 9 | + "items": { |
| 10 | + "$ref": "#/definitions/Role" |
22 | 11 | },
|
23 |
| - "type": "object" |
| 12 | + "type": "array" |
| 13 | + }, |
| 14 | + "priority": { |
| 15 | + "description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.", |
| 16 | + "maximum": 1, |
| 17 | + "minimum": 0, |
| 18 | + "type": "number" |
24 | 19 | }
|
25 | 20 | },
|
26 | 21 | "type": "object"
|
|
29 | 24 | "description": "Audio provided to or from an LLM.",
|
30 | 25 | "properties": {
|
31 | 26 | "annotations": {
|
32 |
| - "properties": { |
33 |
| - "audience": { |
34 |
| - "description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).", |
35 |
| - "items": { |
36 |
| - "$ref": "#/definitions/Role" |
37 |
| - }, |
38 |
| - "type": "array" |
39 |
| - }, |
40 |
| - "priority": { |
41 |
| - "description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.", |
42 |
| - "maximum": 1, |
43 |
| - "minimum": 0, |
44 |
| - "type": "number" |
45 |
| - } |
46 |
| - }, |
47 |
| - "type": "object" |
| 27 | + "$ref": "#/definitions/Annotations", |
| 28 | + "description": "Optional annotations for the client." |
48 | 29 | },
|
49 | 30 | "data": {
|
50 | 31 | "description": "The base64-encoded audio data.",
|
|
487 | 468 | "description": "The contents of a resource, embedded into a prompt or tool call result.\n\nIt is up to the client how best to render embedded resources for the benefit\nof the LLM and/or the user.",
|
488 | 469 | "properties": {
|
489 | 470 | "annotations": {
|
490 |
| - "properties": { |
491 |
| - "audience": { |
492 |
| - "description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).", |
493 |
| - "items": { |
494 |
| - "$ref": "#/definitions/Role" |
495 |
| - }, |
496 |
| - "type": "array" |
497 |
| - }, |
498 |
| - "priority": { |
499 |
| - "description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.", |
500 |
| - "maximum": 1, |
501 |
| - "minimum": 0, |
502 |
| - "type": "number" |
503 |
| - } |
504 |
| - }, |
505 |
| - "type": "object" |
| 471 | + "$ref": "#/definitions/Annotations", |
| 472 | + "description": "Optional annotations for the client." |
506 | 473 | },
|
507 | 474 | "resource": {
|
508 | 475 | "anyOf": [
|
|
589 | 556 | "description": "An image provided to or from an LLM.",
|
590 | 557 | "properties": {
|
591 | 558 | "annotations": {
|
592 |
| - "properties": { |
593 |
| - "audience": { |
594 |
| - "description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).", |
595 |
| - "items": { |
596 |
| - "$ref": "#/definitions/Role" |
597 |
| - }, |
598 |
| - "type": "array" |
599 |
| - }, |
600 |
| - "priority": { |
601 |
| - "description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.", |
602 |
| - "maximum": 1, |
603 |
| - "minimum": 0, |
604 |
| - "type": "number" |
605 |
| - } |
606 |
| - }, |
607 |
| - "type": "object" |
| 559 | + "$ref": "#/definitions/Annotations", |
| 560 | + "description": "Optional annotations for the client." |
608 | 561 | },
|
609 | 562 | "data": {
|
610 | 563 | "description": "The base64-encoded image data.",
|
|
1528 | 1481 | "description": "A known resource that the server is capable of reading.",
|
1529 | 1482 | "properties": {
|
1530 | 1483 | "annotations": {
|
1531 |
| - "properties": { |
1532 |
| - "audience": { |
1533 |
| - "description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).", |
1534 |
| - "items": { |
1535 |
| - "$ref": "#/definitions/Role" |
1536 |
| - }, |
1537 |
| - "type": "array" |
1538 |
| - }, |
1539 |
| - "priority": { |
1540 |
| - "description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.", |
1541 |
| - "maximum": 1, |
1542 |
| - "minimum": 0, |
1543 |
| - "type": "number" |
1544 |
| - } |
1545 |
| - }, |
1546 |
| - "type": "object" |
| 1484 | + "$ref": "#/definitions/Annotations", |
| 1485 | + "description": "Optional annotations for the client." |
1547 | 1486 | },
|
1548 | 1487 | "description": {
|
1549 | 1488 | "description": "A description of what this resource represents.\n\nThis can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a \"hint\" to the model.",
|
|
1634 | 1573 | "description": "A template description for resources available on the server.",
|
1635 | 1574 | "properties": {
|
1636 | 1575 | "annotations": {
|
1637 |
| - "properties": { |
1638 |
| - "audience": { |
1639 |
| - "description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).", |
1640 |
| - "items": { |
1641 |
| - "$ref": "#/definitions/Role" |
1642 |
| - }, |
1643 |
| - "type": "array" |
1644 |
| - }, |
1645 |
| - "priority": { |
1646 |
| - "description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.", |
1647 |
| - "maximum": 1, |
1648 |
| - "minimum": 0, |
1649 |
| - "type": "number" |
1650 |
| - } |
1651 |
| - }, |
1652 |
| - "type": "object" |
| 1576 | + "$ref": "#/definitions/Annotations", |
| 1577 | + "description": "Optional annotations for the client." |
1653 | 1578 | },
|
1654 | 1579 | "description": {
|
1655 | 1580 | "description": "A description of what this template is for.\n\nThis can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a \"hint\" to the model.",
|
|
1970 | 1895 | "description": "Text provided to or from an LLM.",
|
1971 | 1896 | "properties": {
|
1972 | 1897 | "annotations": {
|
1973 |
| - "properties": { |
1974 |
| - "audience": { |
1975 |
| - "description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).", |
1976 |
| - "items": { |
1977 |
| - "$ref": "#/definitions/Role" |
1978 |
| - }, |
1979 |
| - "type": "array" |
1980 |
| - }, |
1981 |
| - "priority": { |
1982 |
| - "description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.", |
1983 |
| - "maximum": 1, |
1984 |
| - "minimum": 0, |
1985 |
| - "type": "number" |
1986 |
| - } |
1987 |
| - }, |
1988 |
| - "type": "object" |
| 1898 | + "$ref": "#/definitions/Annotations", |
| 1899 | + "description": "Optional annotations for the client." |
1989 | 1900 | },
|
1990 | 1901 | "text": {
|
1991 | 1902 | "description": "The text content of the message.",
|
|
0 commit comments