MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / is_subagent_dispatch_tool

Function is_subagent_dispatch_tool

src/sessions/cursor.rs:979–981  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

977}
978
979fn is_subagent_dispatch_tool(name: &str) -> bool {
980 matches!(name.to_ascii_lowercase().as_str(), "task" | "subagent")
981}
982
983fn content_is_only_subagent_dispatch(content: &Value) -> bool {
984 let Some(items) = content.as_array() else {

Callers 2

dispatch_model_for_agentFunction · 0.85
event_dispatch_messagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected