> For the complete documentation index, see [llms.txt](https://docs.skydeck.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.skydeck.ai/vi/developers/develop-your-own-tools/json-format-for-tools.md).

# Định dạng JSON cho Công cụ

## Giới thiệu

Tài liệu này phác thảo các cấu trúc JSON được SkyDeck AI hỗ trợ cho hai loại công cụ khác nhau: Công cụ LLM và Công cụ Thông minh. Mục đích của trang này là cung cấp một giới thiệu ngắn gọn về các loại công cụ này và các cấu trúc JSON tương ứng của chúng. Thông tin chi tiết và ví dụ cho mỗi loại công cụ có thể được tìm thấy trong các trang con tương ứng.

***

#### Công cụ LLM

Công cụ LLM (Mô hình Ngôn ngữ Lớn) được thiết kế để tạo điều kiện tương tác của người dùng với các mô hình LLM bằng cách gửi đầu vào của người dùng đến các lời nhắc đã định nghĩa trước.

{% content-ref url="/pages/hG56wf8nBzNpr61lRH1b" %}
[Định dạng JSON cho Công cụ LLM](/vi/developers/develop-your-own-tools/json-format-for-llm-tools.md)
{% endcontent-ref %}

#### Công Cụ Thông Minh

Công Cụ Thông Minh mở rộng khả năng của Công Cụ LLM bằng cách tích hợp thực thi mã Python để trích xuất và xử lý dữ liệu. Việc tích hợp Python cho phép người dùng thực hiện các phép tính phức tạp, biến đổi dữ liệu và các thao tác nâng cao khác ngoài phạm vi chức năng của Công Cụ LLM tiêu chuẩn.

{% content-ref url="/pages/IfxxnkXI30KWrnUPgnvK" %}
[Định dạng JSON cho Công cụ Thông minh](/vi/developers/develop-your-own-tools/json-format-for-smart-tools.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.skydeck.ai/vi/developers/develop-your-own-tools/json-format-for-tools.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
