# Functions (Labs)

- [Custom Functions](https://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/functions-labs/custom-functions.md): Learn more about how to build your own custom functions for your AI agent.
- [Shopify - Custom Function (New)](https://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/functions-labs/custom-functions/shopify-custom-function-new.md)
- [Custom Functions (Legacy)](https://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/functions-labs/custom-functions-legacy.md)
- [How Custom Functions Work (Legacy)](https://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/functions-labs/custom-functions-legacy/how-custom-functions-work-legacy.md): Learn more about how to build your own custom functions for your AI agent.
- [Code Generation Prompt for Custom Functions](https://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/functions-labs/custom-functions-legacy/code-generation-prompt-for-custom-functions.md): Instructions: Replace the information inside the \[brackets] to be what you want the AI agent to do.
- [Stock Market Data - Custom Function (Legacy)](https://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/functions-labs/custom-functions-legacy/stock-market-data-custom-function-legacy.md): How to build an AI agent that knows live stock market data.
- [Airtable - Custom Function (Legacy)](https://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/functions-labs/custom-functions-legacy/airtable-custom-function-legacy.md): This is how you can create a custom function that will integrate with your Airtable database.
- [Google Sheets - Custom Function (Legacy)](https://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/functions-labs/custom-functions-legacy/google-sheets-custom-function-legacy.md): This tutorial will show you how to create a custom function that will be able to pull data from a Google sheet and return that info to the user inside the conversation.
- [Shopify - Custom Function (Legacy)](https://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/functions-labs/custom-functions-legacy/shopify-custom-function-legacy.md): Learn how to connect your AI agent to a Shopify store to get live data.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/functions-labs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
