parse


Description:

public bool parse (Block block)

Parses a fenced block: expects JSON with "name" and optional "arguments". Sets this.name, this.arguments, and this.tool_call (uid is assigned by caller via assign_id). Appends to this.issues on parse failures.

Parameters:

block

The code block containing the tool call JSON

Returns:

true if parsing succeeded