Documentation / @agentick/mcp / Icon
Interface: Icon
Defined in: protocol/types.ts:253
Optional icon metadata that clients may render in their UI. Per spec, clients MUST support image/png and image/jpeg; SHOULD support image/svg+xml and image/webp. The theme discriminator allows shipping light/dark variants.
Properties
mimeType?
optionalmimeType:string
Defined in: protocol/types.ts:257
Optional MIME type (e.g. "image/png", "image/svg+xml").
sizes?
optionalsizes:string[]
Defined in: protocol/types.ts:262
Optional sizes in WxH format (e.g. "48x48") or "any" for scalable formats. If omitted, the client may use the icon at any size.
src
src:
string
Defined in: protocol/types.ts:255
URL or data URI for the icon.
theme?
optionaltheme:"light"|"dark"
Defined in: protocol/types.ts:267
Optional theme variant — "light" for use against light backgrounds, "dark" for dark. If omitted, usable with any theme.