# Companion

object Companion

## Properties

ADK_FUNCTION_CALL_ID_PREFIX
Link copied to clipboard
const val ADK_FUNCTION_CALL_ID_PREFIX: String

Prefix for client-side function call IDs generated by the ADK.

ARGS_KEY
Link copied to clipboard
const val ARGS_KEY: String

Key for the function arguments in the serialized function call map.

ID_KEY
Link copied to clipboard
const val ID_KEY: String

Key for the function call ID in the serialized function call map.

NAME_KEY
Link copied to clipboard
const val NAME_KEY: String

Key for the function name in the serialized function call map.

ORIGINAL_FUNCTION_CALL_KEY
Link copied to clipboard
const val ORIGINAL_FUNCTION_CALL_KEY: String

Key used in the arguments map to store the original function call being confirmed.

REQUEST_CONFIRMATION_FUNCTION_CALL_NAME
Link copied to clipboard
const val REQUEST_CONFIRMATION_FUNCTION_CALL_NAME: String

Function name for requesting user confirmation for a tool execution.

REQUEST_EUC_FUNCTION_CALL_NAME
Link copied to clipboard
const val REQUEST_EUC_FUNCTION_CALL_NAME: String

Function name for requesting user credentials.

TOOL_CONFIRMATION_KEY
Link copied to clipboard
const val TOOL_CONFIRMATION_KEY: String

Key used in the arguments map to store the tool confirmation result.

## Functions

generateId
Link copied to clipboard
fun generateId(): String

Generates a new unique client function call ID prefixed with ADK identifier.