parse_agent_response: Parse Agent Response

View source: R/parse_agent_response.R

parse_agent_responseR Documentation

Parse Agent Response

Description

This function parses the raw text response from an AI agent, expecting a JSON string potentially wrapped in markdown code fences. It extracts the JSON part and attempts to parse it.

Usage

parse_agent_response(response_text)

Arguments

response_text

The raw text response received from the AI agent.


myownrobs documentation built on Nov. 5, 2025, 5:52 p.m.