Entity

registerResource

WebMCP 提供的方法,用于注册可通过 URI 读取的资源,资源内容可以是文本或二进制数据,供 LLM 作为上下文使用。

术语属性

  • 参数:name, description, uri/uriTemplate, mimeType, handler

相关文章