Skip to main content

read_capability_doc

Function read_capability_doc 

Source
async fn read_capability_doc(
    call: &CapabilityCall,
    atlas: &mut AtlasClient,
) -> CapabilityCallResult
Expand description

Apply the read_capability_doc builtin: fetch a provider’s registered CAPABILITY.md content from atlas and return it as markdown text.

Unlike read_file, this never touches the filesystem — atlas serves the content the provider sent at registration, so it works regardless of the provider’s (possibly containerised) mount layout. Errors when the provider is unknown or registered no doc. Long results are retained as files when the model-visible event is prepared.

浙ICP备2023005800号-2 浙公网安备33010902005384号