add_web_data_access
Extend a contract with web data access by specifying a URL template and data processing logic for fetched data.
Instructions
Add web data access capabilities to an existing contract
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": {
"contract_code": "<contract_code>",
"url_template": "<url_template>",
"data_processing_logic": "<data_processing_logic>"
},
"name": "add_web_data_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract_code | Yes | The existing contract code | |
| url_template | Yes | URL template for web data access | |
| data_processing_logic | Yes | Description of how to process the fetched data |