alexa_tool/lib.rs
1//! Alexa integration tools for the agent platform.
2//!
3//! This crate will provide Alexa-specific tool implementations, including
4//! authentication, device resolution, and Alexa API interactions. Individual
5//! tools are registered through the interfaces exposed by `agent-runtime`.
6//!
7//! Agent execution, tool authorization, and conversation management remain
8//! the responsibility of the runtime.
9
10mod alexa_speak;
11mod tool;
12
13use std::path::PathBuf;
14
15use agent_config::ConfigError;
16use agent_runtime::ToolRegistry;
17
18pub fn register_tools(registry: &mut ToolRegistry) -> Result<(), ConfigError> {
19 let definition_path = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("data/alexa_speak.toml");
20 registry.register_from_file(definition_path, tool::AlexaSpeak)
21}