Skip to content
Developer Preview

SkillProviderResourceContents

Experimental

One fetched file. It carries exactly one of text or blob; both, or neither, is invalid and the host refuses the file.

  • blob — Experimental
  • mimeType — Experimental
  • text — Experimental
  • uri — Experimental
Source

schema/msp/experimental/msp.schema.json#/types/SkillProviderResourceContents

{
"description": "One fetched file. It carries exactly one of `text` or `blob`; both, or\nneither, is invalid and the host refuses the file.",
"properties": {
"blob": {
"description": "The file's bytes, base64; exactly one of `text` or `blob`.",
"type": "string"
},
"mimeType": {
"description": "The file's media type.",
"type": "string"
},
"text": {
"description": "The file as UTF-8 text; exactly one of `text` or `blob`.",
"type": "string"
},
"uri": {
"description": "Echoes the requested URI; 1 to 2,048 characters.",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object",
"x-msp-descriptor": "skillProvider/readResource",
"x-msp-stability": "experimental"
}