Expand description
Procedural macros for agent capability and step metadata generation
This crate provides macros to declaratively define agent capability and step metadata:
#[capability]- marks a function as an agent capability#[derive(CapabilityInput)]- generates input metadata from struct fields#[derive(CapabilityOutput)]- generates output metadata from struct fields#[derive(StepMeta)]- generates step type metadata for DSL generation
The macros generate static metadata that can be collected at runtime using
the inventory crate for agent and step discovery.
Note: The metadata types (CapabilityMeta, InputTypeMeta, StepTypeMeta, etc.) are defined
in runtara-dsl crate to avoid proc-macro crate limitations.
Attribute Macros§
- capability
- Attribute macro for marking agent capability functions
Derive Macros§
- Capability
Input - Derive macro for capability input structs
- Capability
Output - Derive macro for capability output structs
- Connection
Params - Derive macro for connection parameter structs
- Step
Meta - Derive macro for step type structs