Query regarding functions used to return values from tools

For the tools in the “Understanding User Intent” section, the functions tool_error and tool_success are being called to return a value from the tool - however these functions are neither defined or imported, and there is no mention of them in the ADK docs.