> For the complete documentation index, see [llms.txt](https://docs.petoi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.petoi.com/chinese/api.md).

# API

- [串口协议](https://docs.petoi.com/chinese/api/chuan-kou-xie-yi.md)
- [反馈舵机](https://docs.petoi.com/chinese/api/chuan-kou-xie-yi/fan-kui-duo-ji.md)
- [嵌套任务队列和信号发生器](https://docs.petoi.com/chinese/api/chuan-kou-xie-yi/qian-tao-ren-wu-dui-lie-he-xin-hao-fa-sheng-qi.md)
- [Python serialMaster使用指南](https://docs.petoi.com/chinese/api/python-serialmaster-shi-yong-zhi-nan.md): 如何使用python脚本与机器人（Nybble😼 / Bittle🐶）开心玩耍?
- [MicroPython控制器](https://docs.petoi.com/chinese/api/micropython-kong-zhi-qi.md): 使用NyBoard WiFi 模块作为 MicroPython 控制器教程
- [MicroPython上手玩](https://docs.petoi.com/chinese/api/micropython-kong-zhi-qi/micropython-shang-shou-wan.md)
- [配置WebREPL](https://docs.petoi.com/chinese/api/micropython-kong-zhi-qi/pei-zhi-webrepl.md): 实现远程调试与上传程序
- [使用ESP-NOW协议](https://docs.petoi.com/chinese/api/micropython-kong-zhi-qi/shi-yong-espnow-xie-yi.md): Petoi 群控方案
- [通过树莓派控制机器人](https://docs.petoi.com/chinese/api/tong-guo-shu-mei-pai-kong-zhi-ji-qi-ren.md)
- [ROS](https://docs.petoi.com/chinese/api/ros.md): ROS 接口


---

# 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.petoi.com/chinese/api.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.
