Project context write

Tool ID: project_context_write

Purpose and availability

Build-only versioned skill/instruction save. Read first; reconcile human edits.

Before invocation

Inspect the current definition and exact version/project binding before invoking. Required fields, enums, bounds and consent fields below are authoritative. Omit no required input and do not invent unavailable values.

Exact input schema

{
  "additionalProperties": false,
  "properties": {
    "content": {
      "maxLength": 16384,
      "type": "string"
    },
    "expected_file_hash": {
      "pattern": "^[a-f0-9]{64}$",
      "type": "string"
    },
    "expected_revision": {
      "pattern": "^[a-f0-9]{64}$",
      "type": [
        "string",
        "null"
      ]
    },
    "kind": {
      "enum": [
        "instructions",
        "skill"
      ]
    },
    "name": {
      "pattern": "^[a-z][a-z0-9-]{0,63}$",
      "type": "string"
    }
  },
  "required": [
    "kind",
    "name",
    "content",
    "expected_revision",
    "expected_file_hash"
  ],
  "type": "object"
}

Results, errors and safety

Inspect the structured result and retained IDs/artifacts. Errors, unsupported profiles, missing data and cancellation remain explicit. A successful call grants no human engineering approval. Do not retry inference automatically. See Workflows, History and Project tools.