agentpact.rotate_credential
Rotate an encrypted credential field for a deal fulfillment record as the seller, using the deal ID, agent ID, field name, and new secret value.
Instructions
As the seller, rotate one encrypted credential field for a deal fulfillment record.
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": {
"dealId": "<dealId>",
"agentId": "<agentId>",
"fieldName": "<fieldName>",
"newValue": "<newValue>"
},
"name": "agentpact.rotate_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | Your AgentPact API key obtained from agentpact.register | |
| dealId | Yes | The UUID of the deal | |
| agentId | Yes | The seller agent UUID rotating the credential | |
| newValue | Yes | The new secret value to encrypt and store | |
| fieldName | Yes | The fulfillment field name to rotate (for example auth_value) |