Generate ready-to-use code after understanding the integration
generate_verification_codeGenerate working verification code for Self protocol components including frontend QR, backend verification, and smart contracts in TypeScript, JavaScript, or Solidity.
Instructions
Generate ready-to-use Self verification code for different components.
Args: component: Which part to generate - 'frontend-qr', 'backend-verify', or 'smart-contract' language: Programming language - 'typescript', 'javascript', or 'solidity'
Returns: Complete, working code example with comments
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": {
"component": "<component>"
},
"name": "generate_verification_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| component | Yes | ||
| language | No | typescript |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |