Skip to main content

Crate gate4agent_tool_protocol

Crate gate4agent_tool_protocol 

Source
Expand description

Dependency-light, versioned contracts for the Gate4Agent capability plane.

These types perform no I/O and grant no authority by themselves. The tool engine validates every deserialized envelope again at its trusted ingress.

Structs§

ApprovalResolution
CapabilityCompletionBatch
CapabilityCompletionEnvelope
CapabilityDescriptor
CapabilityEffectEnvelope
CapabilityObservationEnvelope
CapabilityProviderDescriptor
CapabilityRequestId
CapabilityRequestInput
CapabilityRequestKey
CapabilityRequestSnapshot
CapabilityResult
CapabilityResultMetadata
ConsumerBoundCapabilityRequest
ConsumerId
PolicyGrant
PolicyKey
ProviderBindingId
ProviderBoundCapabilityEffectEnvelope
ProviderBoundCapabilityRequest
ProviderRuntimeBindingSnapshot
ProviderRuntimeEnvelope
ProviderRuntimeSnapshot
ResourceScopeId
ToolActorId
ToolAuditEvent
ToolAuditSubject
ToolAuthorityEnvelope
ToolCapabilityId
ToolEngineSnapshot
ToolFailure
ToolOperationId
ToolProviderId

Enums§

ApprovalDecision
CancellationDisposition
Cancellation remains unconfirmed after a cancel effect is queued. Only QueuedInvokeRemoved proves the invocation never left the engine.
CapabilityClass
CapabilityEffect
CapabilityObservation
CapabilityObservationDisposition
CapabilityOwner
Provider ownership is an admission boundary. Consumer(owner) can serve only requests whose exact consumer_id equals owner; Gate may be shared, but only through an otherwise exact policy grant.
CapabilityRequestStatus
CapabilityResultDelivery
Bounded result delivery released to the caller through a CapabilityCompletionBatch. Neither variant is retained in snapshots or audit events. An opaque reference is meaningful only to the provider identified by its completion envelope; the core never resolves or interprets it.
CapabilityTerminalOutcome
CompletionDropReason
GrantMode
InvocationCancelReason
ObservationIgnoredReason
PolicyDecision
PolicyDenial
ProviderRuntimeCommand
ToolAuditEventKind
ToolAuthorityCommand
ToolAuthorityOutcome
ToolFailureKind
ToolInstanceState
ToolValidationError

Constants§

TOOL_ACTIVE_REQUESTS_PER_CLIENT_MAX
TOOL_ACTOR_ID_MAX_BYTES
TOOL_APPROVAL_SUMMARY_MAX_BYTES
TOOL_AUDIT_EVENTS_MAX
TOOL_CAPABILITIES_PER_PROVIDER_MAX
TOOL_CAPABILITY_DESCRIPTION_MAX_BYTES
TOOL_CAPABILITY_ID_MAX_BYTES
TOOL_COMPLETIONS_MAX
TOOL_CONSUMER_ID_MAX_BYTES
TOOL_EFFECTS_MAX
TOOL_FAILURE_MESSAGE_MAX_BYTES
TOOL_INLINE_RESULT_MAX_BYTES
TOOL_MEDIA_TYPE_MAX_BYTES
TOOL_PAYLOAD_MAX_BYTES
TOOL_POLICIES_MAX
TOOL_PROVIDERS_MAX
TOOL_PROVIDER_ID_MAX_BYTES
TOOL_REQUESTS_MAX
TOOL_RESOURCE_SCOPE_ID_MAX_BYTES
TOOL_RESULT_MAX_BYTES
TOOL_RESULT_REFERENCE_MAX_BYTES
TOOL_RESULT_SUMMARY_MAX_BYTES

Type Aliases§

CapabilityRequest