cosh-tools 0.1.2

Tools crate for cosh - coding agent for the terminal
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use schemars::JsonSchema;
use serde::Deserialize;

/// Parameters for `web_fetch`.
#[derive(Debug, Default, Deserialize, JsonSchema)]
pub struct WebFetchInput {
    /// The full HTTP or HTTPS URL to fetch.
    pub url: String,
}

/// Parameters for `web_search`.
#[derive(Debug, Deserialize, JsonSchema)]
pub struct WebSearchInput {
    /// The search query string.
    pub query: String,
}