Tool tree
gradeNot graded
get_contractAnswer
Return the full text of a loaded contract. which is primary or secondary.
View tool JSON
{
"name": "get_contract",
"kind": "answer",
"impl": "imperative",
"description": "Return the full text of a loaded contract. which is primary or secondary.",
"inputSchema": {
"type": "object",
"properties": {
"which": {
"type": "string",
"enum": [
"primary",
"secondary"
]
}
},
"required": [
"which"
]
},
"page": "/contractclarity/"
}set_contractAction
Set or replace the text of a contract on the page. which is primary or secondary.
View tool JSON
{
"name": "set_contract",
"kind": "act",
"impl": "imperative",
"description": "Set or replace the text of a contract on the page. which is primary or secondary.",
"inputSchema": {
"type": "object",
"properties": {
"which": {
"type": "string",
"enum": [
"primary",
"secondary"
]
},
"text": {
"type": "string"
}
},
"required": [
"which",
"text"
]
},
"page": "/contractclarity/"
}analyze_contractAction
Run the on-page analysis of a contract and return the extracted terms, the detected risk flags with severity and a snippet, and a readability read. The page computes this structure over the text.
View tool JSON
{
"name": "analyze_contract",
"kind": "act",
"impl": "imperative",
"description": "Run the on-page analysis of a contract and return the extracted terms, the detected risk flags with severity and a snippet, and a readability read. The page computes this structure over the text.",
"inputSchema": {
"type": "object",
"properties": {
"which": {
"type": "string",
"enum": [
"primary",
"secondary"
]
}
},
"required": [
"which"
]
},
"page": "/contractclarity/"
}list_risk_flagsAnswer
Return just the risky clauses the page detected in a contract, each with a severity, a short reason, and the matching snippet.
View tool JSON
{
"name": "list_risk_flags",
"kind": "answer",
"impl": "imperative",
"description": "Return just the risky clauses the page detected in a contract, each with a severity, a short reason, and the matching snippet.",
"inputSchema": {
"type": "object",
"properties": {
"which": {
"type": "string",
"enum": [
"primary",
"secondary"
]
}
},
"required": [
"which"
]
},
"page": "/contractclarity/"
}extract_termsAction
Return the terms the page pulled from a contract: parties, effective date, term length, notice period, payment terms, governing law, amounts, and dates.
View tool JSON
{
"name": "extract_terms",
"kind": "act",
"impl": "imperative",
"description": "Return the terms the page pulled from a contract: parties, effective date, term length, notice period, payment terms, governing law, amounts, and dates.",
"inputSchema": {
"type": "object",
"properties": {
"which": {
"type": "string",
"enum": [
"primary",
"secondary"
]
}
},
"required": [
"which"
]
},
"page": "/contractclarity/"
}get_clauseAnswer
Return the passage of a contract that covers a topic: termination, payment, liability, confidentiality, renewal, indemnification, governing law, or non-compete.
View tool JSON
{
"name": "get_clause",
"kind": "answer",
"impl": "imperative",
"description": "Return the passage of a contract that covers a topic: termination, payment, liability, confidentiality, renewal, indemnification, governing law, or non-compete.",
"inputSchema": {
"type": "object",
"properties": {
"which": {
"type": "string",
"enum": [
"primary",
"secondary"
]
},
"topic": {
"type": "string"
}
},
"required": [
"which",
"topic"
]
},
"page": "/contractclarity/"
}assess_riskAction
Return an overall risk read for a contract: a 0 to 100 score, a level (Low, Moderate, Elevated, High), counts by severity, and the flagged clauses. The page computes this from its clause rulebook.
View tool JSON
{
"name": "assess_risk",
"kind": "act",
"impl": "imperative",
"description": "Return an overall risk read for a contract: a 0 to 100 score, a level (Low, Moderate, Elevated, High), counts by severity, and the flagged clauses. The page computes this from its clause rulebook.",
"inputSchema": {
"type": "object",
"properties": {
"which": {
"type": "string",
"enum": [
"primary",
"secondary"
]
}
},
"required": [
"which"
]
},
"page": "/contractclarity/"
}compare_contractsAction
Compare the primary and secondary contracts on which risk clauses each contains and on their terms. Returns a matrix and a term comparison.
View tool JSON
{
"name": "compare_contracts",
"kind": "act",
"impl": "imperative",
"description": "Compare the primary and secondary contracts on which risk clauses each contains and on their terms. Returns a matrix and a term comparison.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/contractclarity/"
}list_sectionsAnswer
List the numbered sections the page found in a contract, with their headings. Use this to request a single section by itself.
View tool JSON
{
"name": "list_sections",
"kind": "answer",
"impl": "imperative",
"description": "List the numbered sections the page found in a contract, with their headings. Use this to request a single section by itself.",
"inputSchema": {
"type": "object",
"properties": {
"which": {
"type": "string",
"enum": [
"primary",
"secondary"
]
}
},
"required": [
"which"
]
},
"page": "/contractclarity/"
}get_clause_by_idAnswer
Return the text of one numbered section by its id, from its heading to the next section. Reference the id from list_sections.
View tool JSON
{
"name": "get_clause_by_id",
"kind": "answer",
"impl": "imperative",
"description": "Return the text of one numbered section by its id, from its heading to the next section. Reference the id from list_sections.",
"inputSchema": {
"type": "object",
"properties": {
"which": {
"type": "string",
"enum": [
"primary",
"secondary"
]
},
"sectionId": {
"type": "string"
}
},
"required": [
"which",
"sectionId"
]
},
"page": "/contractclarity/"
}explain_flagAnswer
Return the full detail of one risk flag by its id: severity, confidence, why it matters, whether it needs review, the section it came from, and the exact quote.
View tool JSON
{
"name": "explain_flag",
"kind": "answer",
"impl": "imperative",
"description": "Return the full detail of one risk flag by its id: severity, confidence, why it matters, whether it needs review, the section it came from, and the exact quote.",
"inputSchema": {
"type": "object",
"properties": {
"which": {
"type": "string",
"enum": [
"primary",
"secondary"
]
},
"flagId": {
"type": "string"
}
},
"required": [
"which",
"flagId"
]
},
"page": "/contractclarity/"
}compare_selected_clausesAction
Compare specific clause topics across both contracts and return the passage from each side. Topics: termination, payment, liability, confidentiality, renewal, indemnification, governing law, non-compete.
View tool JSON
{
"name": "compare_selected_clauses",
"kind": "act",
"impl": "imperative",
"description": "Compare specific clause topics across both contracts and return the passage from each side. Topics: termination, payment, liability, confidentiality, renewal, indemnification, governing law, non-compete.",
"inputSchema": {
"type": "object",
"properties": {
"topics": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"topics"
]
},
"page": "/contractclarity/"
}get_mentor_guidanceAnswer
Return the app-owned guidance for talking about a contract: a mentor role, behavior rules, and an answer format. Read this first so the explanation stays grounded in the evidence the page returns and does not give a legal verdict.
View tool JSON
{
"name": "get_mentor_guidance",
"kind": "answer",
"impl": "imperative",
"description": "Return the app-owned guidance for talking about a contract: a mentor role, behavior rules, and an answer format. Read this first so the explanation stays grounded in the evidence the page returns and does not give a legal verdict.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/contractclarity/"
}get_both_contractsAnswer
Return the full text of both contracts at once.
View tool JSON
{
"name": "get_both_contracts",
"kind": "answer",
"impl": "imperative",
"description": "Return the full text of both contracts at once.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/contractclarity/"
}