> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ardent.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

When your agent decides to use a [Tool](/reference/tool), its `execute()` function receives a hash of arguments
and a `Context` object.

In addition to information about the current execution, the `Context` object also contains hooks into various
services provided by the Ardent platform.

<ParamField path="ai" type="AiClient">
  An [AiClient](ai-client) object, which lets the tool call out to language models.
</ParamField>

<ParamField path="db" type="Database">
  A [Database](/reference/platform/database) object, which lets you read and write data to a SQLite database scoped to
  the current `Task`.
</ParamField>

<ParamField path="kv" type="KeyValueStore">
  A [KeyValueStore](/reference/platform/key-value-store) object, which lets you read and write data to a key-value store
  scoped to the current `Task`.
</ParamField>

<ParamField path="secrets" type="SecretStore">
  A [SecretStore](/reference/platform/secret-store) object, which lets you access secrets defined in your workspace.
</ParamField>
