Skip to main content
POST /api/v1/forward/templates/{template_id} Updates mutable template fields. Fields omitted from the request are left unchanged. Array fields such as tools, mcp_servers, and skills are replaced as a whole when provided.

Headers

Path parameters

Body parameters

Nested configuration objects

tools, mcp_servers, and skills are array fields. When provided in an update request, each array replaces the previous array as a whole.

File resources

files is a map keyed by File ID. Do not include file_id, id, or resource_id inside each item. Forward injects mount_path when creating Sessions.

Tools array

Each tools[] item is selected by type. Built-in tool names are Bash, Read, Write, Edit, Glob, Grep, WebFetch, WebSearch, and DeliverArtifacts.

Tool config

tools[].configs[] items use this shape.

Permission policy

MCP servers

Skills

Example request

Example response

HTTP 200 OK

Response fields

Returns the updated Template object.

Errors

Notes

  • Archived templates cannot be updated.
  • Updating session defaults does not mutate existing sessions.

Get a template

Clone a template