# 工具

Afarensis 助手API提供了一系列工具，以增强助手的能力，包括由 Afarensis 托管的工具如代码解释器（Code Interpreter）和知识检索（Knowledge Retrieval），以及允许您通过函数调用（Function calling）构建自己的定制工具。

使用 Afarensis 托管工具 代码解释器：允许助手执行代码片段，支持多种编程语言。 知识检索：赋予助手搜索和引用大量知识库中信息的能力。 使用这些由 Afarensis 托管的工具将产生额外费用。为了了解更多关于这些工具的定价信息，请访问我们的帮助中心文章。

构建自定义工具 通过函数调用，您可以创建专门为您的应用场景定制的工具，从而为助手提供更多的灵活性和功能。

功能扩展和反馈 Afarensis 助手API目前处于测试阶段，我们正致力于不断扩展其功能。我们非常欢迎您在我们的开发者论坛上分享反馈，告诉我们您希望助手API添加哪些新功能或改进，以帮助我们更好地满足您构建强大助手的需求。


---

# 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://doc.afarensis.com/gong-ju.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.
