kya_register
Register an AI agent for a Brazilian company: agent key (EVM address or Web Bot Auth Ed25519 key), CNPJ and a mandate (JSON, validated against /.well-known/kya-mandate.schema.json). Returns a one-time challenge the agent signs with its key and the company signs with its e-CNPJ (CMS/PKCS#7). Price covers the checks at issuance.
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": {
"agent": "<agent>",
"mandate": "<mandate>"
},
"name": "kya_register"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cnpj | No | The company's CNPJ (company agents). Leave out with principal "person". | |
| agent | Yes | ||
| mandate | Yes | Mandate JSON validated by https://kya-br-agents.marcelfons.workers.dev/.well-known/kya-mandate.schema.json. Reserved fields: actions, max_per_operation, max_per_day, currencies, counterparties, valid_from, valid_until. | |
| principal | No | "person": the agent acts for a natural person who signs with an e-CPF (no CNPJ; no name or CPF is ever published). |