# API Reference

- [event](https://developer.eagle.cool/plugin-api/api/event.md): You can define some callback functions in advance according to your needs, and Eagle will actively call them when events occur.
- [item](https://developer.eagle.cool/plugin-api/api/item.md): The eagle.item API allows you to easily query the current content of the resource library or add new content to the resource library.
- [folder](https://developer.eagle.cool/plugin-api/api/folder.md): The eagle.folder API allows you to easily create new folders or access existing ones in the current application.
- [smartFolder](https://developer.eagle.cool/plugin-api/api/smart-folder.md): The eagle.smartFolder API lets you create, query, modify, and delete smart folders.
- [tag](https://developer.eagle.cool/plugin-api/api/tag.md): The eagle.tag API allows easy access to the tags in the current application.
- [tagGroup](https://developer.eagle.cool/plugin-api/api/tag-group.md): The eagle.tagGroup API allows easy access to the tag groups in the current application.
- [library](https://developer.eagle.cool/plugin-api/api/library.md): Get information about the repository currently being used by Eagle.
- [window](https://developer.eagle.cool/plugin-api/api/window.md): Control operations for plugin window display, hide, fullscreen, etc.
- [app](https://developer.eagle.cool/plugin-api/api/app.md): Retrieve Eagle application attributes like version, architecture, and language.
- [os](https://developer.eagle.cool/plugin-api/api/os.md): Similar to the os module in Node.js, provides some basic system operation functions.
- [screen](https://developer.eagle.cool/plugin-api/api/screen.md): Get information about screen size, display, cursor position, etc.
- [notification](https://developer.eagle.cool/plugin-api/api/notification.md): Display a pop-up window in the corner of the screen to inform users about operation status.
- [contextMenu](https://developer.eagle.cool/plugin-api/api/context-menu.md): Create native application context menus.
- [dialog](https://developer.eagle.cool/plugin-api/api/dialog.md): System dialog functionality, including opening, saving files, prompts, alerts, etc.
- [clipboard](https://developer.eagle.cool/plugin-api/api/clipboard.md): Perform copy and paste operations on the system clipboard.
- [drag](https://developer.eagle.cool/plugin-api/api/drag.md): Implement native system file drag-and-drop functionality.
- [shell](https://developer.eagle.cool/plugin-api/api/shell.md): Manage files and URLs using default applications.
- [log](https://developer.eagle.cool/plugin-api/api/log.md): Log specific information in Eagle software for debugging and troubleshooting during development.


---

# 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://developer.eagle.cool/plugin-api/api.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.
