# Agent.getTools() The `.getTools()` method retrieves the tools configured for an agent, resolving them if they're a function. These tools extend the agent's capabilities, allowing it to perform specific actions or access external systems. ## Usage example ```typescript await agent.getTools(); ``` ## Parameters **options?:** (`{ requestContext?: RequestContext }`): Optional configuration object containing runtime context. (Default: `{}`) ## Returns **tools:** (`TTools | Promise`): The tools configured for the agent, either as a direct object or a promise that resolves to the tools. ## Extended usage example ```typescript await agent.getTools({ requestContext: new RequestContext(), }); ``` ### Options parameters **requestContext?:** (`RequestContext`): Runtime context for dependency injection and contextual information. (Default: `new RequestContext()`)