Request source data
request_source_dataAsks the person for data from another service for this app. Returns an approval link and a status. The person signs in to the service if needed and picks the exact data on that page. Nothing is read until they choose. get_app_status reports waiting, chosen or refused. Asking again while a request waits returns the same request. For a company database, source is its address from get_deploy_instructions, and database may suggest the data: one table as schema.table, its columns, at most 5 filters (column, op of is, is_not, before, after or contains, and value), an order, a limit, and at most 5 writes (name, kind of add, change or remove, and columns). Names must be the ones that database lists. Cloche writes every statement from the suggestion, the person confirms or changes it, and nothing runs before they allow it.
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": {
"app_id": "<app_id>",
"source": "<source>",
"data": "<data>"
},
"name": "request_source_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | the data the app needs, in words | |
| app_id | Yes | the app that will show the data, from a reply or list_apps | |
| source | Yes | the service's name, or its https MCP address as the vendor documents it | |
| database | No | for a company database only: a suggestion of the data, which the person confirms or changes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | a sentence with the link or the outcome, and the next step | |
| source_data | Yes |