Skip to main content

query_text

Function query_text 

Source
pub async fn query_text(
    prompt: &str,
    options: ClaudeAgentOptions,
) -> Result<String>
Expand description

Execute a query and return just the text response.

Collects all assistant text blocks and joins them.