Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.52 KB

AITool.md

File metadata and controls

38 lines (32 loc) · 1.52 KB

LaunchDarklyApi::AITool

Properties

Name Type Description Notes
key String The tool key
_access AiConfigsAccess [optional]
_links ParentAndSelfLinks [optional]
_site CoreLink [optional]
_maintainer AIConfigMaintainer [optional]
description String A description of the tool [optional]
schema Object JSON Schema defining the tool's parameters for LLM consumption
custom_parameters Object Custom metadata and configuration for application-level use (not sent to LLM) [optional]
tags Array<String> Tags for the tool. Tags can be used in custom role policies. [optional]
version Integer Version of the tool. Starts at 1, and each update that changes the description, schema, custom parameters, or tags creates a new version. Pass this value with `key` in a variation's `tools: [{key, version}]`.
created_at Integer

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::AITool.new(
  key: null,
  _access: null,
  _links: null,
  _site: null,
  _maintainer: null,
  description: null,
  schema: null,
  custom_parameters: {&quot;requiresApproval&quot;:true,&quot;timeoutMs&quot;:5000},
  tags: [&quot;support&quot;],
  version: 2,
  created_at: null
)