Skip to main content
PUT
Replaces the template’s instruction block. Send a string to replace, or explicit null (or an empty string) to clear. Content changes apply to new sessions immediately; no rebuild is required for context. Required scope: context:write

Path Parameters

string
required
The template ID.

Request Body

string | null
The new instruction block (max 20000 characters). Null or blank clears it.

Response

The updated context, same shape as Get Template Context.