Skip to content

cayu.tools.git

Public Cayu API. Definitions are grouped by their public source module, and definitions from private implementation modules appear on their package’s page; adding a symbol does not move existing links. The import shown at each entry is a supported public namespace. Read the Python API overview and install the required extra.

from cayu.tools import GitChangesTool

Inspect bounded Git changes without exposing an unrestricted shell.

Bases: Tool.

GitChangesTool.__init__(spec: ToolSpec | None=None) -> None
GitChangesTool.name() -> str
GitChangesTool.execution_profile_identity() -> ExecutionProfileBehaviorIdentity | None

Return the stable behavior declaration frozen with this tool’s spec.

GitChangesTool.retain_arguments_for_model() -> bool

Retain bounded redacted original inputs privately for the same profile.

Independent of audit publication; oversized and compacted-away inputs may be omitted. This does not grant knowledge read or activation rights.

GitChangesTool.description() -> str
GitChangesTool.schema() -> dict[str, Any]
async GitChangesTool.run(ctx: ToolContext, args: dict[str, Any]) -> ToolResult

Release source · Runtime guarantees · Capability guides