pub fn part_of(
name: &str,
arguments: &Value,
result: &Value,
turn: u32,
tool: &str,
intent: impl Fn(&str) -> bool,
) -> Option<Part>Expand description
The part a tool result is, if it counts: a read of one of the person’s
committed intent files (the spec, the plan, the tasks, the constitution
— intent says which) does not, nor does an empty result. tool is the
source (tool://fs/read_file); a read is named by its path.