1#![doc(
7 html_logo_url = "https://raw.githubusercontent.com/ChaoticQubit/troupekit/main/assets/brand/logo-mark.svg",
8 html_favicon_url = "https://raw.githubusercontent.com/ChaoticQubit/troupekit/main/assets/brand/favicon.svg"
9)]
10
11pub mod declarative;
12pub mod fetch;
13pub mod http;
14pub mod registry;
15pub mod search;
16pub mod secrets;
17pub mod text;
18pub mod tool;
19pub mod typed;
20
21pub use declarative::http_toolkit_from_toml;
22pub use fetch::web_fetch;
23pub use http::{
24 is_public_ip, receive, HttpError, HttpErrorKind, HttpLimits, HttpRequest, HttpResponse, Method,
25 Received, Transport,
26};
27#[cfg(feature = "reqwest")]
28pub use http::GuardedHttp;
29pub use registry::{compile_schema, schema_errors, valid_tool_name, ToolRegistry, Toolkit};
30pub use search::{BraveSearch, SearchHit, SearchProvider, SearchToolkit, SearxngSearch};
31pub use secrets::{EnvSecrets, SecretSource};
32pub use text::{
33 cap_chars, fence_capped, fence_untrusted, html_to_text, response_text, MAX_TEXT_CHARS,
34};
35pub use tool::{hosted, Tool, ToolContext, ToolError, ToolOutput};
36pub use troupekit_core::tool::HostedTool;
37pub use troupekit_core::tool::ToolSpec;
38pub use typed::{typed_tool, TypedTool};
39