ReadonlydescriptionHuman-readable description shown to LLM
Optional ReadonlymimeMIME type of the content (optional)
ReadonlynameUnique resource name for identification
Content provider function.
String content or Uint8Array for binary data
Optional ReadonlyrequiredScopes required to read this resource (RBAC).
When set, the framework checks authInfo.scopes BEFORE
the read handler executes. All listed scopes must be present (AND logic).
If the check fails, a 403 Forbidden error is returned.
Omit or set to undefined for resources accessible to any authenticated user.
ReadonlyuriResource URI (e.g., 'myapp://config/main')
Static resource definition - for fixed URI resources.
Use this for resources with a fixed URI that don't require parameters. For dynamic URIs with parameters, use
ResourceTemplateDefinition.Example