MCPcopy Create free account
hub / github.com/WeaveMindAI/weft / complete_task

Function complete_task

crates/weft-api/src/extension_api.rs:130–212  ·  view source on GitHub ↗

Complete a task (approve or reject)

(
    State(state): State<Arc<AppState>>,
    Path((token, execution_id)): Path<(String, String)>,
    Json(req): Json<CompleteTaskRequest>,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

validate_tokenFunction · 0.85
lenMethod · 0.80
textMethod · 0.80

Tested by

no test coverage detected