MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / new

Method new

atomic-agent/src/transcript/types.rs:140–146  ·  view source on GitHub ↗

Create a new tool usage summary.

(name: impl Into<String>, count: u32, files: Vec<String>)

Source from the content-addressed store, hash-verified

138impl ToolUseSummary {
139 /// Create a new tool usage summary.
140 pub fn new(name: impl Into<String>, count: u32, files: Vec<String>) -> Self {
141 Self {
142 tool_name: name.into(),
143 invocation_count: count,
144 files_affected: files,
145 }
146 }
147}
148
149impl fmt::Display for ToolUseSummary {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected