ACP.ResourceLink (agent_client_protocol v0.1.0)

Copy Markdown View Source

A resource that the server is capable of reading.

Summary

Types

t()

@type t() :: %ACP.ResourceLink{
  annotations: ACP.Annotations.t() | nil,
  description: String.t() | nil,
  meta: map() | nil,
  mime_type: String.t() | nil,
  name: String.t(),
  size: integer() | nil,
  title: String.t() | nil,
  uri: String.t()
}

Functions

from_json(map)

new(name, uri)

to_json(rl)