Skip to main content

adk_action/
lib.rs

1//! # adk-action
2//!
3//! Shared action node types for ADK-Rust graph workflows.
4//!
5//! This crate provides the type definitions, error types, and variable interpolation
6//! utilities used by both `adk-studio` (visual builder) and `adk-graph` (runtime engine)
7//! for deterministic, non-LLM workflow operations.
8//!
9//! ## Contents
10//!
11//! - **types** — All 14 action node config structs, `StandardProperties`, and the
12//!   `ActionNodeConfig` tagged union enum.
13//! - **error** — `ActionError` enum with `thiserror` for all action node failure modes.
14//! - **interpolation** — `interpolate_variables()` and `get_nested_value()` for
15//!   `{{variable}}` template resolution.
16
17pub mod error;
18pub mod interpolation;
19pub mod types;
20
21pub use error::ActionError;
22pub use interpolation::{get_nested_value, interpolate_variables};
23pub use types::*;