A callback defines the custom logic to be executed at various stages of agent interaction.
JSON representation
{"description": string,"disabled": boolean,// Union field callback can be only one of the following:"pythonCode": string// End of list of possible types for union field callback.}
Fields
description
string
Optional. Human-readable description of the callback.
disabled
boolean
Optional. Whether the callback is disabled. Disabled callbacks are ignored by the agent.
Union field callback. The callback to execute. callback can be only one of the following:
pythonCode
string
Required. The python code to execute for the callback.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-19 UTC."],[],[]]