Resource
此内容尚不支持你的语言。
Defined in: Resources.ts:9
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
E |
never |
R |
never |
Properties
Section titled “Properties”annotations?
Section titled “annotations?”readonly annotations?: Context<never>;Defined in: Resources.ts:21
audience?
Section titled “audience?”readonly audience?: readonly ("user" | "assistant")[];Defined in: Resources.ts:14
content
Section titled “content”readonly content: Effect<string | Uint8Array<ArrayBufferLike> | ReadResourceResult, E, R>;Defined in: Resources.ts:16
description?
Section titled “description?”readonly description?: string;Defined in: Resources.ts:12
mimeType?
Section titled “mimeType?”readonly mimeType?: string;Defined in: Resources.ts:13
readonly name: string;Defined in: Resources.ts:11
priority?
Section titled “priority?”readonly priority?: number;Defined in: Resources.ts:15
readonly uri: string;Defined in: Resources.ts:10