ACPex.Schema.Client.FsReadTextFileRequest (ACPex v0.1.0)
View SourceRequest from agent to read a text file.
Sent by the agent to request the client to read a file from the local filesystem. This is a bidirectional request (agent → client).
Required Fields
session_id
- The session identifier (string)path
- The file path to read (string)
Optional Fields
line
- Starting line number (integer)limit
- Maximum number of lines to read (integer)meta
- Additional metadata (map)
Example
%ACPex.Schema.Client.FsReadTextFileRequest{
session_id: "session-123",
path: "/path/to/file.txt"
}
JSON Representation
{
"sessionId": "session-123",
"path": "/path/to/file.txt"
}
Summary
Functions
Creates a changeset for validation.
Types
Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Creates a changeset for validation.
Required Fields
session_id
- Must be presentpath
- Must be present