Skip to documentation
SLOP

tiny.acp.EnvVariable

Reference tiny.acp EnvVariable

Defined in client.

A caller gives an MCP server its own environment, one variable at a time.

API (2)

Fields and members

Public fields and members.

No direct callersNo direct callsclientEnvVariable
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/acp/src/client.zig:225

zig
/// A caller gives an MCP server its own environment, one variable at a time. The structure holds/// one environment variable, a name and a value, for an MCP server the agent starts. The client/// writes it as a `name` and `value` object in the server's `env` list in `session/new`. The/// variable sets nothing in the agent's own environment, which comes from `Options.environ`.pub const EnvVariable = struct {    /// The variable's name, sent as `name`.    name: []const u8,    /// The variable's value, sent as `value`.    value: []const u8,};

Source: lib/acp/src/root.zig:68

zig
pub const EnvVariable = client.EnvVariable;

Audit

Definitions1
Public names2
Members2
Version26.7.0
Revisiondaab053ee433