Skip to main content

add_reference_impl_adapter

Function add_reference_impl_adapter 

Source
pub async fn add_reference_impl_adapter(
    url: String,
    description: Option<String>,
) -> Result<AddReferenceOk>
Expand description

Public adapter for add_reference implementation.

This function is callable by agentic-tools wrappers. It contains the actual logic for adding a GitHub repository as a reference.

§Arguments

  • url - HTTPS GitHub URL (https://github.com/org/repo or .git) or generic https://*.git clone URL
  • description - Optional description for why this reference was added

§Returns

AddReferenceOk on success, anyhow::Error on failure.