ReadonlyonEvent fired when prompt fragments change, indicating that capabilities may need to be refreshed.
Gets capabilities for a specific agent, optionally with a specific mode. Parses the agent's effective prompt template to extract capability variables.
The agent ID to get capabilities for
OptionalmodeId: stringOptional mode ID to use instead of the default
Array of parsed capabilities in order they appear in the template
Extracts generic capabilities that are already used in an agent's prompt template. Used to disable these items in the dropdown (they're already included).
The agent ID to get capabilities for
OptionalmodeId: stringOptional mode ID to use instead of the default
GenericCapabilitySelections containing IDs of capabilities already in the prompt
Service to retrieve capability information for chat agents. Parses capability variables from agent prompt templates.