Read agreement
read_agreementReturns the text of the customer's agreement, as the agreement page of the app shows it. Send search to get only the parts around a word or phrase, for example "house". Leave search out to read the whole agreement, for example for a question about the agreement as a whole. A long agreement comes in pages: call again with the next page until page equals pages.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_agreement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | The page of the whole text. The first is 1. | |
| search | No | A word or phrase. The result has up to 10 excerpts around the matches, not a page. | |
| product | No | The product line of the agreement. Leave it out when only one agreement is paid. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| text | No | A page of the agreement, when the call has no search. | |
| pages | No | ||
| app_url | Yes | ||
| product | Yes | ||
| excerpts | No | Empty when nothing matches. | |
| more_matches | No | The agreement has more matches. Send a narrower search, or read the pages. |