diff --git a/docs/specification/draft/schema.mdx b/docs/specification/draft/schema.mdx index fb6ff5d3b..27fc84f61 100644 --- a/docs/specification/draft/schema.mdx +++ b/docs/specification/draft/schema.mdx @@ -37,6 +37,11 @@ the data is entirely optional.

Cursor: string

An opaque token used to represent a cursor for pagination.

+### `ElicitationObjectSchema` + +
type ElicitationObjectSchema = {
  properties: { [key: string]: PrimitiveSchemaDefinition };
  required?: string[];
  type: "object";
}

Schema for elicitation-style object structures. +Only allows flat objects with primitive-typed properties.

+ ### `EmbeddedResource`
interface EmbeddedResource {
  _meta?: { [key: string]: unknown };
  annotations?: Annotations;
  resource: TextResourceContents | BlobResourceContents;
  type: "resource";
}

The contents of a resource, embedded into a prompt or tool call result.

It is up to the client how best to render embedded resources for the benefit @@ -149,25 +154,36 @@ if present).