validate_command_args: Validate Command Arguments

View source: R/llm_commands.R

validate_command_argsR Documentation

Validate Command Arguments

Description

Checks if all required parameters for a given command are present in the provided arguments. This function ensures that the AI agent has supplied all necessary arguments before executing a command.

Usage

validate_command_args(command, args)

Arguments

command

A list representing the command definition, expected to contain a 'parameters' element.

args

A list of arguments provided to the command.


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