Property SideEffect
Side-effect classification. Defaults to .
Enforced — the engine reads it for two decisions. A tool that is not
is de-duplicated through the idempotency store (a replay
of the same tool_use id returns the stored result instead of running again); a
read-only tool is not reserved at all. Only a read-only tool may declare a caching policy.
Default matters: "declared nothing" and "declared ReadOnly" are indistinguishable,
so a tool with no explicit class is treated as read-only — no replay protection. Set
on anything that changes state.
public ToolSideEffect SideEffect { get; init; }