{"schema_version":"finly-agent-access-1","audience":"public","tools":[{"name":"analyze_balance_report","title":"Analyze balance report | ניתוח דוח יתרות","description":"Analyze a PDF, JPEG or PNG balance report. Include the pre-issued operation for encrypted result recovery and safe same-payload replay for up to 15 minutes from issuance; restarting the service ends recovery. Omit operation only for legacy immediate-only delivery. Raw reports are not persisted. Returns structured facts and readable Hebrew text/HTML. External OCR sends personal/financial mortgage data to Google Document AI outside Israel only with an agent attestation that the existing task permits this transfer, or legacy separate approval. The supplier notice hash is not evidence a human saw it. Local-only is the default. A terminal failure never restarts the same operation.","inputSchema":{"type":"object","properties":{"content_base64":{"type":"string","minLength":4,"maxLength":25165824},"security_challenge":{"type":"string","minLength":1,"maxLength":2048},"security_proof":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_-]+$"},"authorization":{"type":"object","properties":{"policy_version":{"type":"string","minLength":1,"maxLength":100},"text_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"user_approved_processing":{"type":"boolean","const":true},"user_approved_result_sharing":{"type":"boolean","const":true}},"required":["policy_version","text_sha256","user_approved_processing","user_approved_result_sharing"],"additionalProperties":false,"description":"Deprecated compatibility field; omit it. FINLY does not use or record it as consent evidence."},"external_ocr":{"anyOf":[{"type":"object","properties":{"approved":{"type":"boolean","const":true},"policy_version":{"type":"string","minLength":1,"maxLength":100},"text_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["approved","policy_version","text_sha256"],"additionalProperties":false},{"type":"object","properties":{"authorization_basis":{"type":"string","const":"existing_task"},"task_authorizes_external_processing":{"type":"boolean","const":true},"policy_version":{"type":"string","minLength":1,"maxLength":100},"text_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["authorization_basis","task_authorizes_external_processing","policy_version","text_sha256"],"additionalProperties":false}],"description":"Optional external OCR selection. Existing-task authority is an agent attestation covering mortgage data sent to Google Document AI outside Israel; its policy hash binds the supplier notice, not proof of human viewing. Legacy separate approval remains accepted. Omission means local-only processing."},"operation":{"type":"object","properties":{"result_handle":{"type":"string","format":"uuid"},"result_token":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"}},"required":["result_handle","result_token"],"additionalProperties":false,"description":"Opt into encrypted result recovery for this pre-issued operation. Omit only for legacy immediate-only delivery."}},"required":["content_base64","security_challenge","security_proof"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"request_id":{"type":"string"},"schema_version":{"const":"finly-agent-access-1"},"tool":{"const":"analyze_balance_report"},"response_kind":{"const":"calculation"},"status":{"type":"string","enum":["success","insufficient_data","needs_review","stale_data","consent_required","approval_required","pending","conflict","unsupported","temporarily_unavailable","rate_limited","not_found_or_not_authorized","revoked","expired","delivery_unknown"]},"as_of":{"type":"string","format":"date-time"},"assumptions":{"type":"array","items":{}},"limitations":{"type":"array","items":{"type":"string"}},"next_actions":{"type":"array","items":{}},"receipt":{"type":"object"},"evidence":{"type":"array","items":{}},"result":{"anyOf":[{"type":"object","properties":{"rateBasis":{"type":"string","const":"report"},"trackCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"tracks":{"type":"array","items":{"type":"object","properties":{"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"ratePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"termMonths":{"type":"integer","minimum":0,"maximum":9007199254740991},"primeSpreadPct":{"type":"number"},"resetIntervalMonths":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":0},"anchorSpreadPct":{"type":"number"},"nextResetDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"monthlyPaymentAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["labelHe","balanceAgorot","ratePct","termMonths"],"additionalProperties":false}},"totalBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"weightedRatePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"reportAsOfDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"payoffTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"payoffFeesAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingTerm":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingRate":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingType":{"type":"integer","minimum":0,"maximum":9007199254740991},"rateCoveragePct":{"type":"number","minimum":0,"maximum":100},"linkedSharePct":{"type":"number","minimum":0,"maximum":100},"variableSharePct":{"type":"number","minimum":0,"maximum":100},"combinedExposurePct":{"type":"number","minimum":0,"maximum":100},"longestTermMonths":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"headlineHe":{"type":"string","minLength":1,"maxLength":500},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000},"comparisonRatePct":{"type":"number"},"forecastRatePct":{"type":"number"},"feeBreakdown":{"type":"object","properties":{"noNoticeAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"avgIndexAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"discountingAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"operationalAgorot":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["noNoticeAgorot","avgIndexAgorot","discountingAgorot","operationalAgorot"],"additionalProperties":false},"monthlyPaymentTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"factors":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["attention","positive","missing","fact"]},"title":{"type":"string","minLength":1,"maxLength":300},"detail":{"type":"string","minLength":1,"maxLength":4000}},"required":["kind","title","detail"],"additionalProperties":false}},"marketComparison":{"type":"object","properties":{"effectiveDate":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"weightedFixedGapPct":{"anyOf":[{"type":"number"},{"type":"null"}]},"comparedSharePct":{"type":"number","minimum":0,"maximum":100},"uncomparedFixedCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"entries":{"type":"array","items":{"type":"object","properties":{"trackIndex":{"type":"integer","minimum":0,"maximum":9007199254740991},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["boi_average","controlled_reference","report_reference","indicative_rate_sheet","alternative"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"asOf":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"applicability":{"type":"string","enum":["applicable","historical_only","unusable"]},"limitationHe":{"type":"string","maxLength":4000}},"required":["kind","labelHe","asOf","applicability"],"additionalProperties":false},"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","enum":["fixed","prime"]},"gapBasis":{"type":"string","const":"report_spread"},"gapPct":{"type":"number"}},"required":["labelHe","balanceAgorot","kind","gapPct"],"additionalProperties":false}}},"required":["effectiveDate","weightedFixedGapPct","comparedSharePct","uncomparedFixedCount","entries"],"additionalProperties":false},"resultVersion":{"type":"number","const":2},"review":{"type":"object","properties":{"state":{"type":"string","enum":["gap_found","no_gap_in_compared_scope","comparison_unavailable"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"headlineHe":{"type":"string","minLength":1,"maxLength":500},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000},"leadingFindingId":{"type":"string","minLength":1,"maxLength":300},"findings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":300},"trackIndices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"kind":{"type":"string","enum":["reference_gap","indicative_price_gap","alternative_price_gap","no_positive_gap","contract_fact","comparison_missing","historical_comparison"]},"purpose":{"type":"string","enum":["fixed_rate_reference","indicative_price","alternative_price"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"sharePct":{"type":"number","minimum":0,"maximum":100},"gapPct":{"type":"number"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["boi_average","controlled_reference","report_reference","indicative_rate_sheet","alternative"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"asOf":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"applicability":{"type":"string","enum":["applicable","historical_only","unusable"]},"limitationHe":{"type":"string","maxLength":4000}},"required":["kind","labelHe","asOf","applicability"],"additionalProperties":false},"titleHe":{"type":"string","minLength":1,"maxLength":300},"detailHe":{"type":"string","minLength":1,"maxLength":4000},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000}},"required":["id","trackIndices","kind","balanceAgorot","sharePct","titleHe","detailHe"],"additionalProperties":false}},"coverage":{"type":"array","items":{"type":"object","properties":{"purpose":{"type":"string","enum":["fixed_rate_reference","indicative_price","alternative_price"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"comparedBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"sharePct":{"type":"number","minimum":0,"maximum":100},"trackIndices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"missingTrackIndices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"detailHe":{"type":"string","minLength":1,"maxLength":4000}},"required":["purpose","labelHe","comparedBalanceAgorot","totalBalanceAgorot","sharePct","trackIndices","missingTrackIndices","detailHe"],"additionalProperties":false}}},"required":["state","labelHe","headlineHe","nextStepHe","findings","coverage"],"additionalProperties":false},"document":{"type":"object","properties":{"format":{"type":"string","const":"finly-report-v1"},"locale":{"type":"string","const":"he"},"text":{"type":"string","minLength":1,"maxLength":512000},"html":{"type":"string","minLength":1,"maxLength":1048576}},"required":["format","locale","text","html"],"additionalProperties":false}},"required":["trackCount","tracks","totalBalanceAgorot","weightedRatePct","missingTerm","missingRate","rateCoveragePct","linkedSharePct","variableSharePct","combinedExposurePct","longestTermMonths","headlineHe","nextStepHe","factors","resultVersion","review","document"],"additionalProperties":false},{"type":"object","properties":{"rateBasis":{"type":"string","const":"report"},"trackCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"tracks":{"type":"array","items":{"type":"object","properties":{"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"ratePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"termMonths":{"type":"integer","minimum":0,"maximum":9007199254740991},"primeSpreadPct":{"type":"number"},"resetIntervalMonths":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":0},"anchorSpreadPct":{"type":"number"},"nextResetDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"monthlyPaymentAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["labelHe","balanceAgorot","ratePct","termMonths"],"additionalProperties":false}},"totalBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"weightedRatePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"reportAsOfDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"payoffTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"payoffFeesAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingTerm":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingRate":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingType":{"type":"integer","minimum":0,"maximum":9007199254740991},"rateCoveragePct":{"type":"number","minimum":0,"maximum":100},"linkedSharePct":{"type":"number","minimum":0,"maximum":100},"variableSharePct":{"type":"number","minimum":0,"maximum":100},"combinedExposurePct":{"type":"number","minimum":0,"maximum":100},"longestTermMonths":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"headlineHe":{"type":"string","minLength":1,"maxLength":500},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000},"comparisonRatePct":{"type":"number"},"forecastRatePct":{"type":"number"},"feeBreakdown":{"type":"object","properties":{"noNoticeAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"avgIndexAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"discountingAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"operationalAgorot":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["noNoticeAgorot","avgIndexAgorot","discountingAgorot","operationalAgorot"],"additionalProperties":false},"monthlyPaymentTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"factors":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["attention","positive","missing","fact"]},"title":{"type":"string","minLength":1,"maxLength":300},"detail":{"type":"string","minLength":1,"maxLength":4000}},"required":["kind","title","detail"],"additionalProperties":false}},"marketComparison":{"type":"object","properties":{"effectiveDate":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"weightedFixedGapPct":{"anyOf":[{"type":"number"},{"type":"null"}]},"comparedSharePct":{"type":"number","minimum":0,"maximum":100},"uncomparedFixedCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"entries":{"type":"array","items":{"type":"object","properties":{"trackIndex":{"type":"integer","minimum":0,"maximum":9007199254740991},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["boi_average","controlled_reference","report_reference","indicative_rate_sheet","alternative"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"asOf":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"applicability":{"type":"string","enum":["applicable","historical_only","unusable"]},"limitationHe":{"type":"string","maxLength":4000}},"required":["kind","labelHe","asOf","applicability"],"additionalProperties":false},"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","enum":["fixed","prime"]},"gapBasis":{"type":"string","const":"report_spread"},"gapPct":{"type":"number"}},"required":["labelHe","balanceAgorot","kind","gapPct"],"additionalProperties":false}}},"required":["effectiveDate","weightedFixedGapPct","comparedSharePct","uncomparedFixedCount","entries"],"additionalProperties":false},"attentionScore":{"type":"number","minimum":0,"maximum":100},"attentionLabel":{"type":"string","minLength":1,"maxLength":300},"document":{"type":"object","properties":{"format":{"type":"string","const":"finly-report-v1"},"locale":{"type":"string","const":"he"},"text":{"type":"string","minLength":1,"maxLength":512000},"html":{"type":"string","minLength":1,"maxLength":1048576}},"required":["format","locale","text","html"],"additionalProperties":false}},"required":["trackCount","tracks","totalBalanceAgorot","weightedRatePct","missingTerm","missingRate","rateCoveragePct","linkedSharePct","variableSharePct","combinedExposurePct","longestTermMonths","headlineHe","nextStepHe","factors","attentionScore","attentionLabel","document"],"additionalProperties":false},{"type":"object","properties":{"rateBasis":{"type":"string","const":"report"},"trackCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"tracks":{"type":"array","items":{"type":"object","properties":{"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"ratePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"termMonths":{"type":"integer","minimum":0,"maximum":9007199254740991},"primeSpreadPct":{"type":"number"},"resetIntervalMonths":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":0},"anchorSpreadPct":{"type":"number"},"nextResetDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"monthlyPaymentAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["labelHe","balanceAgorot","ratePct","termMonths"],"additionalProperties":false}},"totalBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"weightedRatePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"reportAsOfDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"payoffTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"payoffFeesAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingTerm":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingRate":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingType":{"type":"integer","minimum":0,"maximum":9007199254740991},"rateCoveragePct":{"type":"number","minimum":0,"maximum":100},"linkedSharePct":{"type":"number","minimum":0,"maximum":100},"variableSharePct":{"type":"number","minimum":0,"maximum":100},"combinedExposurePct":{"type":"number","minimum":0,"maximum":100},"longestTermMonths":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"headlineHe":{"type":"string","minLength":1,"maxLength":500},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000},"comparisonRatePct":{"type":"number"},"forecastRatePct":{"type":"number"},"feeBreakdown":{"type":"object","properties":{"noNoticeAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"avgIndexAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"discountingAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"operationalAgorot":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["noNoticeAgorot","avgIndexAgorot","discountingAgorot","operationalAgorot"],"additionalProperties":false},"monthlyPaymentTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"factors":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["attention","positive","missing","fact"]},"title":{"type":"string","minLength":1,"maxLength":300},"detail":{"type":"string","minLength":1,"maxLength":4000}},"required":["kind","title","detail"],"additionalProperties":false}},"marketComparison":{"type":"object","properties":{"effectiveDate":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"weightedFixedGapPct":{"anyOf":[{"type":"number"},{"type":"null"}]},"comparedSharePct":{"type":"number","minimum":0,"maximum":100},"uncomparedFixedCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"entries":{"type":"array","items":{"type":"object","properties":{"trackIndex":{"type":"integer","minimum":0,"maximum":9007199254740991},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["boi_average","controlled_reference","report_reference","indicative_rate_sheet","alternative"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"asOf":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"applicability":{"type":"string","enum":["applicable","historical_only","unusable"]},"limitationHe":{"type":"string","maxLength":4000}},"required":["kind","labelHe","asOf","applicability"],"additionalProperties":false},"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","enum":["fixed","prime"]},"gapBasis":{"type":"string","const":"report_spread"},"gapPct":{"type":"number"}},"required":["labelHe","balanceAgorot","kind","gapPct"],"additionalProperties":false}}},"required":["effectiveDate","weightedFixedGapPct","comparedSharePct","uncomparedFixedCount","entries"],"additionalProperties":false},"resultVersion":{"type":"number","const":2},"review":{"type":"object","properties":{"state":{"type":"string","enum":["gap_found","no_gap_in_compared_scope","comparison_unavailable"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"headlineHe":{"type":"string","minLength":1,"maxLength":500},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000},"leadingFindingId":{"type":"string","minLength":1,"maxLength":300},"findings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":300},"trackIndices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"kind":{"type":"string","enum":["reference_gap","indicative_price_gap","alternative_price_gap","no_positive_gap","contract_fact","comparison_missing","historical_comparison"]},"purpose":{"type":"string","enum":["fixed_rate_reference","indicative_price","alternative_price"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"sharePct":{"type":"number","minimum":0,"maximum":100},"gapPct":{"type":"number"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["boi_average","controlled_reference","report_reference","indicative_rate_sheet","alternative"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"asOf":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"applicability":{"type":"string","enum":["applicable","historical_only","unusable"]},"limitationHe":{"type":"string","maxLength":4000}},"required":["kind","labelHe","asOf","applicability"],"additionalProperties":false},"titleHe":{"type":"string","minLength":1,"maxLength":300},"detailHe":{"type":"string","minLength":1,"maxLength":4000},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000}},"required":["id","trackIndices","kind","balanceAgorot","sharePct","titleHe","detailHe"],"additionalProperties":false}},"coverage":{"type":"array","items":{"type":"object","properties":{"purpose":{"type":"string","enum":["fixed_rate_reference","indicative_price","alternative_price"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"comparedBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"sharePct":{"type":"number","minimum":0,"maximum":100},"trackIndices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"missingTrackIndices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"detailHe":{"type":"string","minLength":1,"maxLength":4000}},"required":["purpose","labelHe","comparedBalanceAgorot","totalBalanceAgorot","sharePct","trackIndices","missingTrackIndices","detailHe"],"additionalProperties":false}}},"required":["state","labelHe","headlineHe","nextStepHe","findings","coverage"],"additionalProperties":false},"document_error":{"type":"string","const":"report_document_unavailable"}},"required":["trackCount","tracks","totalBalanceAgorot","weightedRatePct","missingTerm","missingRate","rateCoveragePct","linkedSharePct","variableSharePct","combinedExposurePct","longestTermMonths","headlineHe","nextStepHe","factors","resultVersion","review","document_error"],"additionalProperties":false},{"type":"object","properties":{"rateBasis":{"type":"string","const":"report"},"trackCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"tracks":{"type":"array","items":{"type":"object","properties":{"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"ratePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"termMonths":{"type":"integer","minimum":0,"maximum":9007199254740991},"primeSpreadPct":{"type":"number"},"resetIntervalMonths":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":0},"anchorSpreadPct":{"type":"number"},"nextResetDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"monthlyPaymentAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["labelHe","balanceAgorot","ratePct","termMonths"],"additionalProperties":false}},"totalBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"weightedRatePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"reportAsOfDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"payoffTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"payoffFeesAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingTerm":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingRate":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingType":{"type":"integer","minimum":0,"maximum":9007199254740991},"rateCoveragePct":{"type":"number","minimum":0,"maximum":100},"linkedSharePct":{"type":"number","minimum":0,"maximum":100},"variableSharePct":{"type":"number","minimum":0,"maximum":100},"combinedExposurePct":{"type":"number","minimum":0,"maximum":100},"longestTermMonths":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"headlineHe":{"type":"string","minLength":1,"maxLength":500},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000},"comparisonRatePct":{"type":"number"},"forecastRatePct":{"type":"number"},"feeBreakdown":{"type":"object","properties":{"noNoticeAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"avgIndexAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"discountingAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"operationalAgorot":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["noNoticeAgorot","avgIndexAgorot","discountingAgorot","operationalAgorot"],"additionalProperties":false},"monthlyPaymentTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"factors":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["attention","positive","missing","fact"]},"title":{"type":"string","minLength":1,"maxLength":300},"detail":{"type":"string","minLength":1,"maxLength":4000}},"required":["kind","title","detail"],"additionalProperties":false}},"marketComparison":{"type":"object","properties":{"effectiveDate":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"weightedFixedGapPct":{"anyOf":[{"type":"number"},{"type":"null"}]},"comparedSharePct":{"type":"number","minimum":0,"maximum":100},"uncomparedFixedCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"entries":{"type":"array","items":{"type":"object","properties":{"trackIndex":{"type":"integer","minimum":0,"maximum":9007199254740991},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["boi_average","controlled_reference","report_reference","indicative_rate_sheet","alternative"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"asOf":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"applicability":{"type":"string","enum":["applicable","historical_only","unusable"]},"limitationHe":{"type":"string","maxLength":4000}},"required":["kind","labelHe","asOf","applicability"],"additionalProperties":false},"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","enum":["fixed","prime"]},"gapBasis":{"type":"string","const":"report_spread"},"gapPct":{"type":"number"}},"required":["labelHe","balanceAgorot","kind","gapPct"],"additionalProperties":false}}},"required":["effectiveDate","weightedFixedGapPct","comparedSharePct","uncomparedFixedCount","entries"],"additionalProperties":false},"attentionScore":{"type":"number","minimum":0,"maximum":100},"attentionLabel":{"type":"string","minLength":1,"maxLength":300},"document_error":{"type":"string","const":"report_document_unavailable"}},"required":["trackCount","tracks","totalBalanceAgorot","weightedRatePct","missingTerm","missingRate","rateCoveragePct","linkedSharePct","variableSharePct","combinedExposurePct","longestTermMonths","headlineHe","nextStepHe","factors","attentionScore","attentionLabel","document_error"],"additionalProperties":false}],"$schema":"http://json-schema.org/draft-07/schema#"},"no_action":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"code":{"type":"string"},"missing_fields":{"type":"array","items":{"type":"string"}},"retry_after_ms":{"type":"number"}},"required":["code"],"additionalProperties":false}},"required":["request_id","schema_version","tool","response_kind","status","as_of","assumptions","limitations","next_actions","receipt"],"additionalProperties":false,"oneOf":[{"required":["result"],"properties":{"status":{"const":"success"}},"not":{"required":["no_action"]}},{"required":["no_action"],"properties":{"status":{"not":{"const":"success"}}},"not":{"required":["result"]}}]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"delete_report_analysis_result","title":"Delete report analysis | מחיקת תוצאת ניתוח","description":"Cancel this operation and delete its encrypted result using its exact capability. A deleted operation cannot be restarted. No raw report, identity or result is placed in the URL.","inputSchema":{"type":"object","properties":{"operation":{"type":"object","properties":{"result_handle":{"type":"string","format":"uuid"},"result_token":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"}},"required":["result_handle","result_token"],"additionalProperties":false}},"required":["operation"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"request_id":{"type":"string"},"schema_version":{"const":"finly-agent-access-1"},"tool":{"const":"delete_report_analysis_result"},"response_kind":{"const":"workflow"},"status":{"type":"string","enum":["success","insufficient_data","needs_review","stale_data","consent_required","approval_required","pending","conflict","unsupported","temporarily_unavailable","rate_limited","not_found_or_not_authorized","revoked","expired","delivery_unknown"]},"as_of":{"type":"string","format":"date-time"},"assumptions":{"type":"array","items":{}},"limitations":{"type":"array","items":{"type":"string"}},"next_actions":{"type":"array","items":{}},"receipt":{"type":"object"},"evidence":{"type":"array","items":{}},"result":{"type":"object","properties":{"deleted":{"type":"boolean","const":true}},"required":["deleted"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"no_action":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"code":{"type":"string"},"missing_fields":{"type":"array","items":{"type":"string"}},"retry_after_ms":{"type":"number"}},"required":["code"],"additionalProperties":false}},"required":["request_id","schema_version","tool","response_kind","status","as_of","assumptions","limitations","next_actions","receipt"],"additionalProperties":false,"oneOf":[{"required":["result"],"properties":{"status":{"const":"success"}},"not":{"required":["no_action"]}},{"required":["no_action"],"properties":{"status":{"not":{"const":"success"}}},"not":{"required":["result"]}}]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":true,"openWorldHint":false}},{"name":"get_report_analysis_requirements","title":"Report analysis requirements | דרישות לניתוח דוח יתרות","description":"Get the processing notice, external OCR supplier notices for existing-task authority or legacy approval, and a single-use proof-of-work challenge. Normal report analysis requires no additional FINLY approval. Solve SHA-256(challenge_token + \":\" + proof) so its first two bytes are zero.","inputSchema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"request_id":{"type":"string"},"schema_version":{"const":"finly-agent-access-1"},"tool":{"const":"get_report_analysis_requirements"},"response_kind":{"const":"workflow"},"status":{"type":"string","enum":["success","insufficient_data","needs_review","stale_data","consent_required","approval_required","pending","conflict","unsupported","temporarily_unavailable","rate_limited","not_found_or_not_authorized","revoked","expired","delivery_unknown"]},"as_of":{"type":"string","format":"date-time"},"assumptions":{"type":"array","items":{}},"limitations":{"type":"array","items":{"type":"string"}},"next_actions":{"type":"array","items":{}},"receipt":{"type":"object"},"evidence":{"type":"array","items":{}},"result":{"type":"object","properties":{"authorization_required":{"type":"boolean","const":false},"processing_notice":{"type":"object","properties":{"text":{"type":"string","minLength":1},"privacy_url":{"type":"string","const":"https://finly.co.il/privacy"}},"required":["text","privacy_url"],"additionalProperties":false},"external_ocr_policy":{"type":"object","properties":{"policy_version":{"type":"string","minLength":1,"maxLength":100},"text":{"type":"string","minLength":1},"text_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"privacy_url":{"type":"string","const":"https://finly.co.il/privacy"}},"required":["policy_version","text","text_sha256","privacy_url"],"additionalProperties":false},"external_ocr_delegated_policy":{"type":"object","properties":{"policy_version":{"type":"string","minLength":1,"maxLength":100},"text":{"type":"string","minLength":1},"text_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"privacy_url":{"type":"string","const":"https://finly.co.il/privacy"},"provider":{"type":"string","const":"google_document_ai"},"processing_location":{"type":"string","const":"outside_israel"}},"required":["policy_version","text","text_sha256","privacy_url","provider","processing_location"],"additionalProperties":false},"operation":{"type":"object","properties":{"result_handle":{"type":"string","format":"uuid"},"result_token":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"},"expires_at":{"type":"string","format":"date-time"}},"required":["result_handle","result_token","expires_at"],"additionalProperties":false},"security_challenge":{"type":"object","properties":{"challenge_token":{"type":"string"},"algorithm":{"type":"string","const":"sha256"},"difficulty_bits":{"type":"number","const":16},"expires_at":{"type":"string","format":"date-time"}},"required":["challenge_token","algorithm","difficulty_bits","expires_at"],"additionalProperties":false},"limits":{"type":"object","properties":{"max_file_bytes":{"type":"number","const":18874368},"allowed_mime_types":{"type":"array","minItems":3,"maxItems":3,"items":[{"type":"string","const":"application/pdf"},{"type":"string","const":"image/jpeg"},{"type":"string","const":"image/png"}]},"analysis_attempts_per_hour":{"type":"number","const":3},"max_concurrent_analyses":{"type":"number","const":2},"analysis_timeout_ms":{"type":"number","const":120000}},"required":["max_file_bytes","allowed_mime_types","analysis_attempts_per_hour","max_concurrent_analyses","analysis_timeout_ms"],"additionalProperties":false},"handling":{"type":"object","properties":{"file_storage":{"type":"boolean","const":false},"result_storage":{"type":"string","const":"encrypted_process_memory"},"result_delivery":{"type":"string","const":"immediate_response_or_retrieval"},"result_ttl_ms":{"type":"number","const":900000},"survives_restart":{"type":"boolean","const":false},"consent_evidence":{"type":"string","const":"not_collected","description":"FINLY does not collect new human-consent evidence. Existing-task OCR selection is a caller attestation, not evidence the person saw or approved this notice."}},"required":["file_storage","result_storage","result_delivery","result_ttl_ms","survives_restart","consent_evidence"],"additionalProperties":false}},"required":["authorization_required","processing_notice","external_ocr_policy","external_ocr_delegated_policy","operation","security_challenge","limits","handling"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"no_action":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"code":{"type":"string"},"missing_fields":{"type":"array","items":{"type":"string"}},"retry_after_ms":{"type":"number"}},"required":["code"],"additionalProperties":false}},"required":["request_id","schema_version","tool","response_kind","status","as_of","assumptions","limitations","next_actions","receipt"],"additionalProperties":false,"oneOf":[{"required":["result"],"properties":{"status":{"const":"success"}},"not":{"required":["no_action"]}},{"required":["no_action"],"properties":{"status":{"not":{"const":"success"}}},"not":{"required":["result"]}}]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}},{"name":"get_report_analysis_result","title":"Retrieve report analysis | שליפת תוצאת ניתוח","description":"Retrieve the result or pending status using the exact operation capability received before upload. Does not upload, analyze, call OCR, renew expiry or prove Customer identity. An expired or restarted service cannot recover the result.","inputSchema":{"type":"object","properties":{"operation":{"type":"object","properties":{"result_handle":{"type":"string","format":"uuid"},"result_token":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"}},"required":["result_handle","result_token"],"additionalProperties":false}},"required":["operation"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"request_id":{"type":"string"},"schema_version":{"const":"finly-agent-access-1"},"tool":{"const":"get_report_analysis_result"},"response_kind":{"const":"calculation"},"status":{"type":"string","enum":["success","insufficient_data","needs_review","stale_data","consent_required","approval_required","pending","conflict","unsupported","temporarily_unavailable","rate_limited","not_found_or_not_authorized","revoked","expired","delivery_unknown"]},"as_of":{"type":"string","format":"date-time"},"assumptions":{"type":"array","items":{}},"limitations":{"type":"array","items":{"type":"string"}},"next_actions":{"type":"array","items":{}},"receipt":{"type":"object"},"evidence":{"type":"array","items":{}},"result":{"anyOf":[{"type":"object","properties":{"rateBasis":{"type":"string","const":"report"},"trackCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"tracks":{"type":"array","items":{"type":"object","properties":{"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"ratePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"termMonths":{"type":"integer","minimum":0,"maximum":9007199254740991},"primeSpreadPct":{"type":"number"},"resetIntervalMonths":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":0},"anchorSpreadPct":{"type":"number"},"nextResetDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"monthlyPaymentAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["labelHe","balanceAgorot","ratePct","termMonths"],"additionalProperties":false}},"totalBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"weightedRatePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"reportAsOfDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"payoffTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"payoffFeesAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingTerm":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingRate":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingType":{"type":"integer","minimum":0,"maximum":9007199254740991},"rateCoveragePct":{"type":"number","minimum":0,"maximum":100},"linkedSharePct":{"type":"number","minimum":0,"maximum":100},"variableSharePct":{"type":"number","minimum":0,"maximum":100},"combinedExposurePct":{"type":"number","minimum":0,"maximum":100},"longestTermMonths":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"headlineHe":{"type":"string","minLength":1,"maxLength":500},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000},"comparisonRatePct":{"type":"number"},"forecastRatePct":{"type":"number"},"feeBreakdown":{"type":"object","properties":{"noNoticeAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"avgIndexAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"discountingAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"operationalAgorot":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["noNoticeAgorot","avgIndexAgorot","discountingAgorot","operationalAgorot"],"additionalProperties":false},"monthlyPaymentTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"factors":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["attention","positive","missing","fact"]},"title":{"type":"string","minLength":1,"maxLength":300},"detail":{"type":"string","minLength":1,"maxLength":4000}},"required":["kind","title","detail"],"additionalProperties":false}},"marketComparison":{"type":"object","properties":{"effectiveDate":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"weightedFixedGapPct":{"anyOf":[{"type":"number"},{"type":"null"}]},"comparedSharePct":{"type":"number","minimum":0,"maximum":100},"uncomparedFixedCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"entries":{"type":"array","items":{"type":"object","properties":{"trackIndex":{"type":"integer","minimum":0,"maximum":9007199254740991},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["boi_average","controlled_reference","report_reference","indicative_rate_sheet","alternative"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"asOf":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"applicability":{"type":"string","enum":["applicable","historical_only","unusable"]},"limitationHe":{"type":"string","maxLength":4000}},"required":["kind","labelHe","asOf","applicability"],"additionalProperties":false},"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","enum":["fixed","prime"]},"gapBasis":{"type":"string","const":"report_spread"},"gapPct":{"type":"number"}},"required":["labelHe","balanceAgorot","kind","gapPct"],"additionalProperties":false}}},"required":["effectiveDate","weightedFixedGapPct","comparedSharePct","uncomparedFixedCount","entries"],"additionalProperties":false},"resultVersion":{"type":"number","const":2},"review":{"type":"object","properties":{"state":{"type":"string","enum":["gap_found","no_gap_in_compared_scope","comparison_unavailable"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"headlineHe":{"type":"string","minLength":1,"maxLength":500},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000},"leadingFindingId":{"type":"string","minLength":1,"maxLength":300},"findings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":300},"trackIndices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"kind":{"type":"string","enum":["reference_gap","indicative_price_gap","alternative_price_gap","no_positive_gap","contract_fact","comparison_missing","historical_comparison"]},"purpose":{"type":"string","enum":["fixed_rate_reference","indicative_price","alternative_price"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"sharePct":{"type":"number","minimum":0,"maximum":100},"gapPct":{"type":"number"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["boi_average","controlled_reference","report_reference","indicative_rate_sheet","alternative"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"asOf":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"applicability":{"type":"string","enum":["applicable","historical_only","unusable"]},"limitationHe":{"type":"string","maxLength":4000}},"required":["kind","labelHe","asOf","applicability"],"additionalProperties":false},"titleHe":{"type":"string","minLength":1,"maxLength":300},"detailHe":{"type":"string","minLength":1,"maxLength":4000},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000}},"required":["id","trackIndices","kind","balanceAgorot","sharePct","titleHe","detailHe"],"additionalProperties":false}},"coverage":{"type":"array","items":{"type":"object","properties":{"purpose":{"type":"string","enum":["fixed_rate_reference","indicative_price","alternative_price"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"comparedBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"sharePct":{"type":"number","minimum":0,"maximum":100},"trackIndices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"missingTrackIndices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"detailHe":{"type":"string","minLength":1,"maxLength":4000}},"required":["purpose","labelHe","comparedBalanceAgorot","totalBalanceAgorot","sharePct","trackIndices","missingTrackIndices","detailHe"],"additionalProperties":false}}},"required":["state","labelHe","headlineHe","nextStepHe","findings","coverage"],"additionalProperties":false},"document":{"type":"object","properties":{"format":{"type":"string","const":"finly-report-v1"},"locale":{"type":"string","const":"he"},"text":{"type":"string","minLength":1,"maxLength":512000},"html":{"type":"string","minLength":1,"maxLength":1048576}},"required":["format","locale","text","html"],"additionalProperties":false}},"required":["trackCount","tracks","totalBalanceAgorot","weightedRatePct","missingTerm","missingRate","rateCoveragePct","linkedSharePct","variableSharePct","combinedExposurePct","longestTermMonths","headlineHe","nextStepHe","factors","resultVersion","review","document"],"additionalProperties":false},{"type":"object","properties":{"rateBasis":{"type":"string","const":"report"},"trackCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"tracks":{"type":"array","items":{"type":"object","properties":{"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"ratePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"termMonths":{"type":"integer","minimum":0,"maximum":9007199254740991},"primeSpreadPct":{"type":"number"},"resetIntervalMonths":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":0},"anchorSpreadPct":{"type":"number"},"nextResetDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"monthlyPaymentAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["labelHe","balanceAgorot","ratePct","termMonths"],"additionalProperties":false}},"totalBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"weightedRatePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"reportAsOfDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"payoffTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"payoffFeesAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingTerm":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingRate":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingType":{"type":"integer","minimum":0,"maximum":9007199254740991},"rateCoveragePct":{"type":"number","minimum":0,"maximum":100},"linkedSharePct":{"type":"number","minimum":0,"maximum":100},"variableSharePct":{"type":"number","minimum":0,"maximum":100},"combinedExposurePct":{"type":"number","minimum":0,"maximum":100},"longestTermMonths":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"headlineHe":{"type":"string","minLength":1,"maxLength":500},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000},"comparisonRatePct":{"type":"number"},"forecastRatePct":{"type":"number"},"feeBreakdown":{"type":"object","properties":{"noNoticeAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"avgIndexAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"discountingAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"operationalAgorot":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["noNoticeAgorot","avgIndexAgorot","discountingAgorot","operationalAgorot"],"additionalProperties":false},"monthlyPaymentTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"factors":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["attention","positive","missing","fact"]},"title":{"type":"string","minLength":1,"maxLength":300},"detail":{"type":"string","minLength":1,"maxLength":4000}},"required":["kind","title","detail"],"additionalProperties":false}},"marketComparison":{"type":"object","properties":{"effectiveDate":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"weightedFixedGapPct":{"anyOf":[{"type":"number"},{"type":"null"}]},"comparedSharePct":{"type":"number","minimum":0,"maximum":100},"uncomparedFixedCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"entries":{"type":"array","items":{"type":"object","properties":{"trackIndex":{"type":"integer","minimum":0,"maximum":9007199254740991},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["boi_average","controlled_reference","report_reference","indicative_rate_sheet","alternative"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"asOf":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"applicability":{"type":"string","enum":["applicable","historical_only","unusable"]},"limitationHe":{"type":"string","maxLength":4000}},"required":["kind","labelHe","asOf","applicability"],"additionalProperties":false},"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","enum":["fixed","prime"]},"gapBasis":{"type":"string","const":"report_spread"},"gapPct":{"type":"number"}},"required":["labelHe","balanceAgorot","kind","gapPct"],"additionalProperties":false}}},"required":["effectiveDate","weightedFixedGapPct","comparedSharePct","uncomparedFixedCount","entries"],"additionalProperties":false},"attentionScore":{"type":"number","minimum":0,"maximum":100},"attentionLabel":{"type":"string","minLength":1,"maxLength":300},"document":{"type":"object","properties":{"format":{"type":"string","const":"finly-report-v1"},"locale":{"type":"string","const":"he"},"text":{"type":"string","minLength":1,"maxLength":512000},"html":{"type":"string","minLength":1,"maxLength":1048576}},"required":["format","locale","text","html"],"additionalProperties":false}},"required":["trackCount","tracks","totalBalanceAgorot","weightedRatePct","missingTerm","missingRate","rateCoveragePct","linkedSharePct","variableSharePct","combinedExposurePct","longestTermMonths","headlineHe","nextStepHe","factors","attentionScore","attentionLabel","document"],"additionalProperties":false},{"type":"object","properties":{"rateBasis":{"type":"string","const":"report"},"trackCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"tracks":{"type":"array","items":{"type":"object","properties":{"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"ratePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"termMonths":{"type":"integer","minimum":0,"maximum":9007199254740991},"primeSpreadPct":{"type":"number"},"resetIntervalMonths":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":0},"anchorSpreadPct":{"type":"number"},"nextResetDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"monthlyPaymentAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["labelHe","balanceAgorot","ratePct","termMonths"],"additionalProperties":false}},"totalBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"weightedRatePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"reportAsOfDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"payoffTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"payoffFeesAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingTerm":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingRate":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingType":{"type":"integer","minimum":0,"maximum":9007199254740991},"rateCoveragePct":{"type":"number","minimum":0,"maximum":100},"linkedSharePct":{"type":"number","minimum":0,"maximum":100},"variableSharePct":{"type":"number","minimum":0,"maximum":100},"combinedExposurePct":{"type":"number","minimum":0,"maximum":100},"longestTermMonths":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"headlineHe":{"type":"string","minLength":1,"maxLength":500},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000},"comparisonRatePct":{"type":"number"},"forecastRatePct":{"type":"number"},"feeBreakdown":{"type":"object","properties":{"noNoticeAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"avgIndexAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"discountingAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"operationalAgorot":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["noNoticeAgorot","avgIndexAgorot","discountingAgorot","operationalAgorot"],"additionalProperties":false},"monthlyPaymentTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"factors":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["attention","positive","missing","fact"]},"title":{"type":"string","minLength":1,"maxLength":300},"detail":{"type":"string","minLength":1,"maxLength":4000}},"required":["kind","title","detail"],"additionalProperties":false}},"marketComparison":{"type":"object","properties":{"effectiveDate":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"weightedFixedGapPct":{"anyOf":[{"type":"number"},{"type":"null"}]},"comparedSharePct":{"type":"number","minimum":0,"maximum":100},"uncomparedFixedCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"entries":{"type":"array","items":{"type":"object","properties":{"trackIndex":{"type":"integer","minimum":0,"maximum":9007199254740991},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["boi_average","controlled_reference","report_reference","indicative_rate_sheet","alternative"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"asOf":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"applicability":{"type":"string","enum":["applicable","historical_only","unusable"]},"limitationHe":{"type":"string","maxLength":4000}},"required":["kind","labelHe","asOf","applicability"],"additionalProperties":false},"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","enum":["fixed","prime"]},"gapBasis":{"type":"string","const":"report_spread"},"gapPct":{"type":"number"}},"required":["labelHe","balanceAgorot","kind","gapPct"],"additionalProperties":false}}},"required":["effectiveDate","weightedFixedGapPct","comparedSharePct","uncomparedFixedCount","entries"],"additionalProperties":false},"resultVersion":{"type":"number","const":2},"review":{"type":"object","properties":{"state":{"type":"string","enum":["gap_found","no_gap_in_compared_scope","comparison_unavailable"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"headlineHe":{"type":"string","minLength":1,"maxLength":500},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000},"leadingFindingId":{"type":"string","minLength":1,"maxLength":300},"findings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":300},"trackIndices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"kind":{"type":"string","enum":["reference_gap","indicative_price_gap","alternative_price_gap","no_positive_gap","contract_fact","comparison_missing","historical_comparison"]},"purpose":{"type":"string","enum":["fixed_rate_reference","indicative_price","alternative_price"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"sharePct":{"type":"number","minimum":0,"maximum":100},"gapPct":{"type":"number"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["boi_average","controlled_reference","report_reference","indicative_rate_sheet","alternative"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"asOf":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"applicability":{"type":"string","enum":["applicable","historical_only","unusable"]},"limitationHe":{"type":"string","maxLength":4000}},"required":["kind","labelHe","asOf","applicability"],"additionalProperties":false},"titleHe":{"type":"string","minLength":1,"maxLength":300},"detailHe":{"type":"string","minLength":1,"maxLength":4000},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000}},"required":["id","trackIndices","kind","balanceAgorot","sharePct","titleHe","detailHe"],"additionalProperties":false}},"coverage":{"type":"array","items":{"type":"object","properties":{"purpose":{"type":"string","enum":["fixed_rate_reference","indicative_price","alternative_price"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"comparedBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"sharePct":{"type":"number","minimum":0,"maximum":100},"trackIndices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"missingTrackIndices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"detailHe":{"type":"string","minLength":1,"maxLength":4000}},"required":["purpose","labelHe","comparedBalanceAgorot","totalBalanceAgorot","sharePct","trackIndices","missingTrackIndices","detailHe"],"additionalProperties":false}}},"required":["state","labelHe","headlineHe","nextStepHe","findings","coverage"],"additionalProperties":false},"document_error":{"type":"string","const":"report_document_unavailable"}},"required":["trackCount","tracks","totalBalanceAgorot","weightedRatePct","missingTerm","missingRate","rateCoveragePct","linkedSharePct","variableSharePct","combinedExposurePct","longestTermMonths","headlineHe","nextStepHe","factors","resultVersion","review","document_error"],"additionalProperties":false},{"type":"object","properties":{"rateBasis":{"type":"string","const":"report"},"trackCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"tracks":{"type":"array","items":{"type":"object","properties":{"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"ratePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"termMonths":{"type":"integer","minimum":0,"maximum":9007199254740991},"primeSpreadPct":{"type":"number"},"resetIntervalMonths":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":0},"anchorSpreadPct":{"type":"number"},"nextResetDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"monthlyPaymentAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["labelHe","balanceAgorot","ratePct","termMonths"],"additionalProperties":false}},"totalBalanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"weightedRatePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"reportAsOfDate":{"type":"string","pattern":"^\\d{2}\\/\\d{2}\\/\\d{4}$"},"payoffTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"payoffFeesAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingTerm":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingRate":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingType":{"type":"integer","minimum":0,"maximum":9007199254740991},"rateCoveragePct":{"type":"number","minimum":0,"maximum":100},"linkedSharePct":{"type":"number","minimum":0,"maximum":100},"variableSharePct":{"type":"number","minimum":0,"maximum":100},"combinedExposurePct":{"type":"number","minimum":0,"maximum":100},"longestTermMonths":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"headlineHe":{"type":"string","minLength":1,"maxLength":500},"nextStepHe":{"type":"string","minLength":1,"maxLength":2000},"comparisonRatePct":{"type":"number"},"forecastRatePct":{"type":"number"},"feeBreakdown":{"type":"object","properties":{"noNoticeAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"avgIndexAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"discountingAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"operationalAgorot":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["noNoticeAgorot","avgIndexAgorot","discountingAgorot","operationalAgorot"],"additionalProperties":false},"monthlyPaymentTotalAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"factors":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["attention","positive","missing","fact"]},"title":{"type":"string","minLength":1,"maxLength":300},"detail":{"type":"string","minLength":1,"maxLength":4000}},"required":["kind","title","detail"],"additionalProperties":false}},"marketComparison":{"type":"object","properties":{"effectiveDate":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"weightedFixedGapPct":{"anyOf":[{"type":"number"},{"type":"null"}]},"comparedSharePct":{"type":"number","minimum":0,"maximum":100},"uncomparedFixedCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"entries":{"type":"array","items":{"type":"object","properties":{"trackIndex":{"type":"integer","minimum":0,"maximum":9007199254740991},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["boi_average","controlled_reference","report_reference","indicative_rate_sheet","alternative"]},"labelHe":{"type":"string","minLength":1,"maxLength":300},"asOf":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"applicability":{"type":"string","enum":["applicable","historical_only","unusable"]},"limitationHe":{"type":"string","maxLength":4000}},"required":["kind","labelHe","asOf","applicability"],"additionalProperties":false},"labelHe":{"type":"string","enum":["פריים","קבועה לא צמודה","קבועה צמודה","משתנה לא צמודה","משתנה צמודה","מסלול (סוג לא זוהה)"]},"balanceAgorot":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","enum":["fixed","prime"]},"gapBasis":{"type":"string","const":"report_spread"},"gapPct":{"type":"number"}},"required":["labelHe","balanceAgorot","kind","gapPct"],"additionalProperties":false}}},"required":["effectiveDate","weightedFixedGapPct","comparedSharePct","uncomparedFixedCount","entries"],"additionalProperties":false},"attentionScore":{"type":"number","minimum":0,"maximum":100},"attentionLabel":{"type":"string","minLength":1,"maxLength":300},"document_error":{"type":"string","const":"report_document_unavailable"}},"required":["trackCount","tracks","totalBalanceAgorot","weightedRatePct","missingTerm","missingRate","rateCoveragePct","linkedSharePct","variableSharePct","combinedExposurePct","longestTermMonths","headlineHe","nextStepHe","factors","attentionScore","attentionLabel","document_error"],"additionalProperties":false}],"$schema":"http://json-schema.org/draft-07/schema#"},"no_action":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"code":{"type":"string"},"missing_fields":{"type":"array","items":{"type":"string"}},"retry_after_ms":{"type":"number"}},"required":["code"],"additionalProperties":false}},"required":["request_id","schema_version","tool","response_kind","status","as_of","assumptions","limitations","next_actions","receipt"],"additionalProperties":false,"oneOf":[{"required":["result"],"properties":{"status":{"const":"success"}},"not":{"required":["no_action"]}},{"required":["no_action"],"properties":{"status":{"not":{"const":"success"}}},"not":{"required":["result"]}}]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}]}