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.
GitChangesTool
Section titled “GitChangesTool”from cayu.tools import GitChangesToolInspect bounded Git changes without exposing an unrestricted shell.
Bases: Tool.
init (method)
Section titled “init (method)”GitChangesTool.__init__(spec: ToolSpec | None=None) -> Nonename (property)
Section titled “name (property)”GitChangesTool.name() -> strexecution_profile_identity (property)
Section titled “execution_profile_identity (property)”GitChangesTool.execution_profile_identity() -> ExecutionProfileBehaviorIdentity | NoneReturn the stable behavior declaration frozen with this tool’s spec.
retain_arguments_for_model (property)
Section titled “retain_arguments_for_model (property)”GitChangesTool.retain_arguments_for_model() -> boolRetain 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.
description (property)
Section titled “description (property)”GitChangesTool.description() -> strschema (property)
Section titled “schema (property)”GitChangesTool.schema() -> dict[str, Any]run (method)
Section titled “run (method)”async GitChangesTool.run(ctx: ToolContext, args: dict[str, Any]) -> ToolResult