Fix Jcode Antigravity HTTP 400: Todo Schema Error

Seeing Antigravity generateContent failed (HTTP 400 Bad Request) in Jcode, followed by properties[add].items.required? This guide helps you identify the schema error, launch with the affected tool excluded, and get the official build containing the correction.

Updated 28 October 2026 · Applies to the error reported in Jcode 0.99.1 · Official fix: 7e6dec1

Start here

For the specific add / required error, the affected tool is todo. The targeted workaround is --disabled-tools todo. For the code correction, the official v1.0.0-preview.24 includes the fix. Choose the route below that fits your setup.

1. Match the error before changing settings

Open your terminal and check which Jcode you are running:

jcode --version

Then compare your error with these two markers from issue #1956:

Antigravity generateContent failed (HTTP 400 Bad Request)
parameters.properties[add].items.required[0]: property is not defined

The important clue is properties[add].items.required. The numbered function declaration can move as the available tools change.

GitHub report showing the Antigravity HTTP 400 error and add items required path
The original report identifies Jcode 0.99.1 and the schema-validation error. Select the image to enlarge.

What it means: Jcode sends tool descriptions alongside your message. In the affected todo description, the add list requires fields that its item schema does not declare. Antigravity rejects that request before generating a reply. The maintainer traced this exact path to the todo tool.

2. Launch Antigravity with todo excluded

Finish or save your current work, leave the current Jcode session, and start a fresh session with this command:

jcode --provider antigravity --disabled-tools todo

--provider antigravity selects the provider. --disabled-tools todo hides the affected tool after Jcode applies your tool profile. Other tools continue to follow your existing configuration.

Use /model to select your usual Antigravity model. Keep the same model while checking this change so you can tell whether excluding todo addresses the matching error.

For a single-message check, use:

jcode run --provider antigravity --disabled-tools todo "Reply with exactly: Ready"

This is a session launch option. Start Jcode with the flag each time you use this workaround. For more launch options, see the Jcode command reference. The flag is also declared in the official 0.99.1 CLI source.

3. Check for a normal model response

Send the short Ready prompt first. A normal reply confirms that this request passed the provider’s validation. Then return to a small coding task in your project.

You receive a reply

Continue with the same launch command, or move to the corrected build in step 4 to restore the full tool set.

The error still names add.items.required

Check the exact launch command, confirm that you started a fresh session, and continue to step 4.

The message changes to an account, quota or model error

Use the new message to choose the next fix in the provider troubleshooting guide.

4. Get the official build containing the correction

The maintainer linked the error to commit 7e6dec1. The correction declares the fields accepted by todo.add and strengthens Gemini schema cleanup.

Maintainer comment connecting the reported add schema error to the official fix
The maintainer’s follow-up points directly to the todo schema correction. Select the image to enlarge.

As of 28 October, the latest stable release is 0.99.1; the official 1.0.0-preview.24 contains the correction. The preview is an opt-in prerelease. Use the stable workaround above for production, or follow this preview route for the corrected code.

Download the archive for your computer

Open the official preview release, scroll to Assets, and download your operating system and architecture’s archive plus SHA256SUMS.

For example, Apple Silicon Macs use jcode-macos-aarch64.tar.gz; Intel Macs use jcode-macos-x86_64.tar.gz. The release also lists Linux and Windows packages.

Official preview release showing first-time installation and update channel instructions
The official release explains how to install the preview alongside your stable executable. Select the image to enlarge.

macOS Apple Silicon: check and extract the download

Put the two downloaded files in a new folder named jcode-preview inside Downloads. Open Terminal and run:

cd ~/Downloads/jcode-preview
shasum -a 256 jcode-macos-aarch64.tar.gz
grep 'jcode-macos-aarch64.tar.gz' SHA256SUMS

Compare the two long hashes. When they match, extract the archive and check the executable:

tar -xzf jcode-macos-aarch64.tar.gz
./jcode-macos-aarch64 --version

For this release, the version line is jcode v1.0.0-preview.24 (2c4efdb04). The extracted executable is named jcode-macos-aarch64. Use that exact filename to launch it:

./jcode-macos-aarch64 --provider antigravity --no-update

This launch uses the preview’s corrected tool schema. Select your Antigravity model with /model and repeat the short prompt from step 3.

Keep receiving preview updates

From the folder containing the extracted preview executable, run:

./jcode-macos-aarch64 update --channel preview

The preview updater supports channel selection. Use the preview executable for this command; stable 0.99.1 uses its own update flow. To return to stable through the preview updater:

./jcode-macos-aarch64 update --channel stable

5. Send a useful report if the same error remains

Reply on the original issue with the version from the executable you actually launched, one affected model ID, and the complete validation error. This gives the maintainer the information requested in the issue.

Jcode version:
Operating system and architecture:
Antigravity model ID:
Fresh session: yes
Launch command:
Result with --disabled-tools todo:
Complete validation error:

Share the error text and these setup details. Keep credentials and conversation content out of the report.

Quick answers

Why does the error affect several Antigravity models?

The models receive the same invalid tool declaration. Changing the model can keep sending the same todo.add schema. Excluding that declaration or using the corrected build addresses the shared request format.

Will jcode update on 0.99.1 install this fix today?

On 28 October, the stable channel resolves to 0.99.1. The corrected code is available in the official preview linked above. Once a stable release contains the correction, use the regular installation and update route.

What changes when I disable todo?

The model loses access to Jcode’s structured todo-management tool for that launch. You can continue organizing the task in your prompt or project notes while using the other configured tools.

Related guides: Choose a provider · Fix provider errors · Jcode troubleshooting