agentool 0.2.0

Rust toolkit for AI agents: JSON Schema-defined tools for workspace files, search, web, Markdown, Git, memory, human-in-the-loop hooks, and todos.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// One hit from [`super::WebSearchBackend`].
#[derive(Debug, Clone, serde::Serialize)]
pub struct WebSearchResult {
    pub title: String,
    pub url: String,
    pub snippet: String,
}

/// Fetched page from [`super::WebFetchBackend`].
#[derive(Debug, Clone)]
pub struct WebFetchResult {
    pub content: String,
    pub title: String,
    pub url: String,
}