# CodeMash Functions

CodeMash provides its own functions. These functions only require you to set configuration parameters as the logic is already implemented. The following are the links to overview of each function.

### **Database functions**

{% content-ref url="codemash-functions/collection-update" %}
[collection-update](https://docs.codemash.io/dashboard/code/codemash-functions/collection-update)
{% endcontent-ref %}

{% content-ref url="codemash-functions/collection-find" %}
[collection-find](https://docs.codemash.io/dashboard/code/codemash-functions/collection-find)
{% endcontent-ref %}

### File functions

{% content-ref url="codemash-functions/image-resize" %}
[image-resize](https://docs.codemash.io/dashboard/code/codemash-functions/image-resize)
{% endcontent-ref %}


---

# 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.codemash.io/dashboard/code/codemash-functions.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.
