Register Data Source
register_data_sourceRegister a data source with allowed purposes, access limits, and compensation terms, then receive a signed SourceReceipt for agent access.
Instructions
Register a data source with terms for agent access. Returns a signed SourceReceipt.
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": {
"contentDescriptor": "<contentDescriptor>",
"contentCommitment": "<contentCommitment>",
"contentType": "<contentType>",
"allowedPurposes": "<allowedPurposes>"
},
"name": "register_data_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contentType | Yes | Type of data | |
| maxAccessCount | No | Max total accesses allowed | |
| allowedPurposes | Yes | Allowed purposes: read, analyze, summarize, generate, recommend, train, embed, redistribute, commercial | |
| compensationType | No | none | |
| derivativePolicy | No | attribution_required | |
| contentCommitment | Yes | SHA-256 hash of the data content | |
| contentDescriptor | Yes | Human-readable description of the data | |
| compensationAmount | No | Amount per access (for per_access type) | |
| requireAttribution | No | ||
| compensationCurrency | No | usd |