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.
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
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 2 |
| Version | 26.7.0 |
| Revision | daab053ee433 |