cx-callback-generator
Generate production-ready Python callback code for Google Cloud CX Agent Studio agents. Use this skill whenever the user wants to write, create, or generate a callback for CX Agent Studio, Conversational Agents, or Dialogflow CX Playbooks. Trigger on any mention of "callback", "before_model_callback", "after_model_callback", "before_tool_callback", "after_tool_callback", "before_agent_callback", "after_agent_callback", "custom_payloads", "CallbackContext", "session variable update in callback", "guardrail callback", "input validation callback", "PII redaction callback", "tool chaining callback", or any request to hook into the agent execution lifecycle with Python code. Also trigger when the user says "write callback code", "add a callback", "callback for my agent", "intercept LLM call", "modify tool response", "inject context", or asks how to use callbacks in CX Agent Studio. Even if the user just says "callback" in the context of conversational AI or agent development, use this skill.
tools