Updated
On this page
Defines Capability, the dataclass describing a dispatchable action's name, required_scope, and injects (infrastructure tokens like pool or caller_principal); VALID_INJECT_TOKENS enumerates valid tokens, rejected in __post_init__.
#protocols.src.orxtra.protocols._types._capability
#protocols.src.orxtra.protocols._types._capability
#Capability
| Field | Type | Default | |
|---|---|---|---|
name | str | ||
namespace | str | ||
description | str | ||
params_model | type[BaseModel] | ||
result_model | `type | None` | |
tags | frozenset[str] | ||
category | str | ||
required_scope | str | ||
injects | frozenset[str] |