ReadonlyeventOptional ReadonlyfunctionReadonlyinvocationOptionaltoolThe current agent name.
The current invocation id.
The delta-aware state of the current session.
The user content that started this invocation.
Gets the auth credential for the given auth config.
The auth config to get the auth credential for.
The auth credential for the given auth config.
Lists the filenames of the artifacts attached to the current session.
A promise that resolves to a list of artifact filenames.
Loads an artifact attached to the current session.
The filename of the artifact.
Optionalversion: numberThe version of the artifact. If not provided, the latest version will be used.
A promise that resolves to the loaded artifact.
Requests confirmation for the current tool call.
Saves an artifact attached to the current session.
The filename of the artifact.
The artifact to save.
A promise that resolves to the version of the saved artifact.
Searches the memory of the current user.
The query to search memory for.
A promise that resolves to SearchMemoryResponse containing the matching memories.
The context of various callbacks within an agent run.