Upsert Policy
upsert-policyCreate or update a workflow policy file on the platform (plans/knowledge/policies/*.policy.md). policyFileName is coerced to *.policy.md (same as get-policies). Prefer after writing the file locally so the policy is available immediately (git sync also works later).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"policyFileName": "<policyFileName>",
"content": "<content>"
},
"name": "upsert-policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| botId | No | QA bots: your botId from your stored TestChimp binding. | |
| content | Yes | ||
| projectApiKey | No | QA bots: your own project API key from your stored TestChimp binding. Required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Never print it. | |
| policyFileName | Yes |