Class LLMParamSpec

java.lang.Object
com.tnsai.metadata.LLMParamSpec

public class LLMParamSpec extends Object
Spec for parameters exposed to LLM. Extracted from LLMParam annotations.

When an action has @LLMParam annotations, these parameters are used for the LLM tool schema instead of the method parameters. This allows decoupling what LLM sees from what the action actually receives.

Author:
TnsAI Team
  • Constructor Details

  • Method Details

    • from

      public static LLMParamSpec from(LLMParam annotation)
      Creates metadata from @LLMParam annotation.