List MQL5 authoring drafts
list_draftsList MQL5 drafts owned by your API key, showing compile status, size, attachment count, and registered EA id. Find draft IDs, review current work, and identify broken drafts.
Instructions
List the MQL5 drafts this API key owns, most recently updated first, with each draft's compile status, size, attachment count and registered-EA id. Use it to find a draftId, or to answer "what am I working on" and "which of my drafts are broken". THIS RESPONSE IS SHAPED: source code, compiler logs and diagnostics are ALL dropped — the endpoint can return over 10 MB otherwise — and what was cut is listed in notes. Call get_draft for one draft's source and compiler output, or list_draft_attachments for its indicator sources. There is no option to request the unshaped response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| drafts | Yes |