# API

To implement the API make sure you have inside your plugin.yml file a depend OR soft depend on DeadlyDisasters like this:

```yaml
# This is a hard depend meaning that the server must have deadlydisasters for your plugin to start up
depend: [DeadlyDisasters]
# OR You can have a soft depend instead like this
softdepend: [DeadlyDisasters]
```


---

# 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://jewishbananas-page.gitbook.io/deadlydisasters/developers/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.
