claude-agent 0.2.25

Rust SDK for building AI agents with Anthropic's Claude - Direct API, no CLI dependency
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Tool-related types.

mod definition;
mod error;
mod output;
mod server;

pub use definition::{ToolDefinition, estimate_tool_tokens};
pub use error::ToolError;
pub use output::{ToolInput, ToolOutput, ToolOutputBlock, ToolResult};
pub use server::{ServerTool, ToolSearchTool, UserLocation, WebFetchTool, WebSearchTool};