Discord Provider

Provider name: discord

What It Does #

The Discord provider uploads a file through a Discord webhook and returns the attachment URL created by Discord.

For integrators, this mostly matters when util_generate_image needs a final URL that is easy to reuse.

What It Usually Needs #

The Discord provider needs:

  • webhook_url

It can also use optional fields such as:

  • wait
  • thread_id

If the webhook is missing, any tool flow that depends on this provider stays hidden or is blocked until the operator or app owner configures it.

How It Is Selected #

The Discord provider can be selected for generated-image uploads through:

  • X-Image-Uploader
  • image_uploader
  • X-Upload-Provider
  • uploader

Its webhook can also be supplied or persisted temporarily through:

  • X-Upload-Token
  • X-Upload-Persist

For this provider, X-Upload-Token maps to webhook_url.

Related Tools #