Reference

verify

JSON-RPC at https://www.bigbug.ai/mcp. Method tools/call, name verify. Header Authorization: Bearer bbe_….

Inputs

  • instruction — what the change was supposed to do. At most 2000 characters.
  • diff — unified diff, patch(1) format. At most 32 KiB.
  • repo — current files. At most 16 files, 32 KiB each, 96 KiB total. target must be one of files[].path.
  • language — optional, at most 40 characters.

Caps reject. They do not truncate. Shrink the field named in the error and retry.

Response

  • applied — whether the change applied to the files you sent.
  • apply_classok, partial_diff, malformed_diff, or missing_repo.
  • files — paths the applier touched.
  • tests — always not_run on this call. The result is apply, not a suite score.

Errors

  • unauthorized — missing or invalid key. Request a new key at /signup. The server cannot recover a lost key.
  • invalid task — a required field is missing or malformed. The message names the field.
  • task too large — a field exceeded its cap. Shrink that field.
  • quota exceeded — daily cap of 1000 calls. Wait until 00:00 UTC.
  • rate limited — 30 calls per minute per key, 60 per minute per network. The message says how long to wait.
  • conflict — a key was already issued for that email and cannot be shown again.
  • signup limited — too many keys from this network, or too many codes for this email, in a day. The message says when to try again.
  • unavailable — the verifier did not answer in time, or the request could not be completed. Retry once. Then finish the change yourself.