MCP servers over streamable HTTP.
name is the namespace of their tools in rewind:tools (github.list_issues);
policies sets the policy of some of their tools, by the name the server gives them.Your own tools, executed by your worker. A name
group.tool puts the tool in the group
namespace (crm.find_customer). inputSchema is required and validated before each call; outputSchema types the
result in the declarations, and is not validated.Enables the built-in
http tool, and fetch in scripts, for these hosts only. *.example.com allows the subdomains.The workflows scripts may start:
"triage" pins its latest version, "triage@9f2c4e1a07b3" one
version.Derives the toolset from a registered one: its servers, tools and workflows are kept as pinned, and
workflows adds
or pins workflows again. mcp, host and http must then be empty.The MCP servers’ credentials, by server name: the
headers sent to each server, such as Authorization. Used to
list their tools, then kept as the toolset’s. They are not part of its id.id, so registering it at every
start of your harness is fine.
Policies
Each tool has a policy. Every field is optional.Declarations for the model
toolset.declarations holds two renderings of the toolset’s rewind:tools module: prompt, one compact line per tool
for the model’s system prompt, and dts, the TypeScript declarations scripts are checked against.
search_tools, or search
yourself:
Credentials
Credentials are set per toolset, per end user and toolset, or per run. A call uses the run’s if it has some, then its namespace’s, then the toolset’s; never merged.credentials.expired. Set new
credentials at the same level, and the call is sent again with the same idempotency key.