tool static method

Map<String, dynamic> tool(
  1. String toolName
)

Require the model to call the named toolName.

Implementation

static Map<String, dynamic> tool(String toolName) => {
      'type': 'tool',
      'name': toolName,
    };