atomr-agents-tool 0.16.2

Tool trait, ToolSet, registry, permission spec, and tool-call parsers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use atomr_agents_core::ToolSetId;
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Default, Serialize, Deserialize)]
pub struct PermissionSpec {
    /// Tool sets this spec depends on transitively.
    pub depends_on: Vec<ToolSetId>,
    /// If true, requires explicit grant from the next level up.
    #[serde(default)]
    pub requires_explicit_grant: bool,
}