Create Policy Context
create_policy_contextCreate a v2 PolicyContext with a mandatory sunset date, satisfying the policy context requirement for every v2 object.
Instructions
Create a v2 PolicyContext with mandatory sunset. Every v2 object requires one.
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": {
"valid_until": "<valid_until>"
},
"name": "create_policy_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trust_epoch | No | ||
| valid_until | Yes | ISO 8601 expiration (mandatory, max 180 days) | |
| policy_version | No | 2.0.0 | |
| values_floor_version | No | 1.0.0 |