deserialize_wrapped


Description:

public RequestBase? deserialize_wrapped (Node parameters_node, string command_template)

Implements WrapInterface.deserialize_wrapped() for wrapped tool execution.

Extracts the arguments array from JSON parameters, replaces {arguments} in the command template with the joined arguments, and creates a RunCommand.Request with the constructed command.

Parameters:

parameters_node

The parameters as a Json.Node

command_template

The command template with {arguments} placeholder

Returns:

A Request instance or null if deserialization fails