Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/iii-hq/sdk/llms.txt

Use this file to discover all available pages before exploring further.

The FunctionInfo type contains metadata about a registered function in the III Engine.

Type Definition

type FunctionInfo = {
  function_id: string
  description?: string
  request_format?: RegisterFunctionFormat
  response_format?: RegisterFunctionFormat
  metadata?: Record<string, unknown>
}

Fields

function_id
string
required
The unique identifier (path) of the function. Use :: for namespacing (e.g., external::my_lambda).
description
string
Human-readable description of what the function does.
request_format
RegisterFunctionFormat
Schema definition for the function’s input parameters.
response_format
RegisterFunctionFormat
Schema definition for the function’s return value.
metadata
object
Additional custom metadata associated with the function.

Usage

FunctionInfo is returned by:
  • listFunctions() - Get all registered functions
  • onFunctionsAvailable() callback - Receive function list updates
const functions = await iii.listFunctions()

functions.forEach((func: FunctionInfo) => {
  console.log(`Function: ${func.function_id}`)
  console.log(`Description: ${func.description}`)
})

Build docs developers (and LLMs) love