Skip to content

Variable: GREP_TOOL_OPENAI

const GREP_TOOL_OPENAI: object

Defined in: packages/aiui-claude-channel/src/linter-tools.ts:188

The grep declaration in OpenAI realtime's tool shape.

Type Declaration

description

readonly description: string = GREP_DESCRIPTION

name

readonly name: "grep" = GREP_TOOL_NAME

parameters

readonly parameters: object

parameters.properties

readonly properties: object

parameters.properties.extensions

readonly extensions: object

parameters.properties.extensions.description

readonly description: "Limit to these file extensions, e.g. ["ts","tsx"]." = 'Limit to these file extensions, e.g. ["ts","tsx"].'

parameters.properties.extensions.items

readonly items: object

parameters.properties.extensions.items.type

readonly type: "string" = "string"

parameters.properties.extensions.type

readonly type: "array" = "array"

parameters.properties.path

readonly path: object

parameters.properties.path.description

readonly description: "Directory or file to search (relative to the project root, or absolute)." = "Directory or file to search (relative to the project root, or absolute)."

parameters.properties.path.type

readonly type: "string" = "string"

parameters.properties.pattern

readonly pattern: object

parameters.properties.pattern.description

readonly description: "JavaScript regular expression." = "JavaScript regular expression."

parameters.properties.pattern.type

readonly type: "string" = "string"

parameters.required

readonly required: readonly ["pattern"]

parameters.type

readonly type: "object" = "object"

type

readonly type: "function" = "function"