MCPcopy Create free account
hub / github.com/GCWing/BitFun / ok

Method ok

src/crates/execution/tool-contracts/src/framework.rs:2260–2266  ·  view source on GitHub ↗

Standard tool success without images.

(data: Value, result_for_assistant: Option<String>)

Source from the content-addressed store, hash-verified

2258
2259 /// Standard tool success without images.
2260 pub fn ok(data: Value, result_for_assistant: Option<String>) -> Self {
2261 Self::Result {
2262 data,
2263 result_for_assistant,
2264 image_attachments: None,
2265 }
2266 }
2267
2268 /// Tool success with optional images for multimodal tool results (Anthropic).
2269 pub fn ok_with_images(

Callers 12

workspace_relative_linkFunction · 0.45
git_relative_pathFunction · 0.45
dequeue_batchMethod · 0.45
parse_remote_read_outputFunction · 0.45
logical_child_pathMethod · 0.45
parse_tokenFunction · 0.45
finalizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected