Skip to content

FileSystemCapabilities

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.base
Base class for generated models.

⋔ Inheritance diagram

graph TD
  95970861021984["capabilities.FileSystemCapabilities"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970861021984
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

File system capabilities that a client may support.

See protocol docs: FileSystem

Source code in src/aclientp/schema/capabilities.py
class FileSystemCapabilities(AnnotatedObject):
    """File system capabilities that a client may support.

    See protocol docs: [FileSystem](https://agentclientprotocol.com/protocol/initialization#filesystem)
    """

    read_text_file: bool | None = False
    """Whether the Client supports `fs/read_text_file` requests."""

    write_text_file: bool | None = False
    """Whether the Client supports `fs/write_text_file` requests."""

read_text_file class-attribute instance-attribute

read_text_file: bool | None = False

Whether the Client supports fs/read_text_file requests.

write_text_file class-attribute instance-attribute

write_text_file: bool | None = False

Whether the Client supports fs/write_text_file requests.

:fa-brands-github: Show source on GitHub