Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.forterulesengine.io/llms.txt

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

createCallingFunctionLookupMaps(callingFunctions): object
Defined in: src/modules/validation.ts:13 Creates lookup maps for efficient calling function resolution. This utility function creates the necessary Map structures for O(1) lookups.

Parameters

ParameterTypeDescription
callingFunctionsCallingFunctionJSON[]Array of calling function definitions

Returns

object Object containing the three lookup maps

callingFunctionByName

callingFunctionByName: Record<string, CallingFunctionJSON>

callingFunctionByNameLower

callingFunctionByNameLower: Record<string, CallingFunctionJSON>

callingFunctionBySignature

callingFunctionBySignature: Record<string, CallingFunctionJSON>