LightCraft for your agent

Use LightCraft from your own agent. Inspect a photo and develop a copy with exposure, contrast and saturation adjustments. Supported input: DNG · JPEG · PNG · WebP.

Use LightCraft in your agent’s chat

  1. Connect once. Follow the MCP setup instructions to add all 13 toolsets to your agent.
  2. Provide the file. Give your agent a path it can read, or attach the file if your client supports uploads. The agent needs file access and HTTP transfer tools.
  3. Describe the task. In your agent’s chat, say which file to use, what to do and what result you want. Your agent calls the connected tool and returns the information or output file.

What to ask your agent

After connecting, replace the example filename with your own file and send this in your agent’s chat:

Brighten portrait.jpg by half a stop and give me a WebP with a long edge up to 1600 pixels.

No special command or required brand phrase. If your agent chooses another method, ask it to use the connected EasyRunCraft tools. Review the result before continuing.

Supported operations

Use editor_capabilities with editor: "light" to check supported operations. Pass the selected operation to process_light.

inspect
Read the photo’s format, dimensions and develop settings.
develop
Adjust exposure from −5 to 5 EV, contrast or saturation from −100 to 100, then export JPEG, PNG or WebP. Set long_edge from 64 to 3072 pixels.

Files, limits and results

Your assistant uses create_upload and sends the bytes to the upload URL with HTTP PUT. It then calls process_light with the uploaded file ID and a new request_id. Reuse the request ID only to retry the same request.

Each input and output file can be up to 20 MB for accounts without a subscription and Starter, or 100 MB on Creator and Studio. See plan file limits. Each account can have two active jobs and each native command has a 45-second limit. Developing supports images up to 40 megapixels. The output may be smaller than the requested maximum long edge.

Poll get_job at most once per second. Inspection data is in result; downloadable outputs are in file. Edits create a private copy. Open the LightCraft editor.

Files and jobs expire after 24 hours. Upload and download links expire after 10 minutes. Anyone holding a valid link can use it until it expires.

Tool-call example for agents and developers

Your agent handles the tool calls. For a direct integration, the arguments to process_light look like this:

{
  "file_id": "<uploaded file ID>",
  "request_id": "<new request ID>",
  "operation": {
    "type": "develop",
    "exposure": 0.5,
    "format": "webp",
    "long_edge": 1600
  }
}

Unsupported requests and feedback

Unsupported operation IDs return UNSUPPORTED_OPERATION. A supported operation can still fail on a particular file. Check the job's error before retrying.

Tell us what you wanted to do and what the assistant reported. You can include the task ID. Keep private files, signed links and access tokens out of the message.

Email LightCraft feedback