Oceanir

v0.1.0
io.github.Oceanir/oceanir Checked 3 days ago Published 1 month ago

Locate photos from visual clues and assess location claims with candidates and uncertainty.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

find_scene Locate a scene

Use when you have an image (a URL or base64 bytes) and need to know where it was taken. Oceanir reads what is visible (architecture, signage, roads, vegetation, terrain, light); no EXIF or GPS is needed. Returns `location` (latitude, longitude, plus country, city, neighborhood and address where known), `confidence`, and `reasoning`; depth 2 adds `visual_clues`; depth 3 adds `forensic`, with ranked alternative candidates and the evidence for and against each. To test a place someone has already stated, use check_location_claim instead. Costs 1 credit at depth 1, 2 at depth 2, 4 at depth 3. Capp…

ParameterTypeDescription
depthintegerAnalysis depth. 1 = Surface (fast region-level answer, 1 credit). 2 = Standard (adds the visual clues behind the answer, 2 credits). 3 = Forensic (ranked alternative candidates with supporting and con…
image_b64stringBase64-encoded image bytes (no data: prefix).
image_idstringReusable private image ID from this account's upload. Send only one image source. Valid for 24 hours.
image_urlstringPublic HTTPS URL to the image to analyze.
scopeobjectThe location being claimed. Oceanir treats this as a search boundary and never as evidence: it can only narrow the search, never raise confidence, and Oceanir rejects it outright on hard image-legible…

check_location_claim Check a location claim

Use when someone has already said where an image was taken (a listing's city, an address on a claim form or case file, a caption) and you need to know whether the image agrees. Oceanir locates the image from visual evidence alone FIRST, then compares. Returns a verdict of `agrees`, `contradicts`, or `unverifiable`, with the distance between the claim and the evidence. `unverifiable` means the image does not settle it and the item needs a human. It is a real answer, not a failure. A verdict of `agrees` means the image is consistent with the claim, not that the claim is true. Capped at 20 analys…

ParameterTypeDescription
scope *objectThe location being claimed. Oceanir treats this as a search boundary and never as evidence: it can only narrow the search, never raise confidence, and Oceanir rejects it outright on hard image-legible…
depthintegerAnalysis depth. 2 = Standard (2 credits) is the right default for verification; 1 = Surface (1 credit) is city-level only and will rarely contradict anything; 3 = Forensic (4 credits) adds contradicti…
image_b64stringBase64-encoded image bytes (no data: prefix).
image_idstringReusable private image ID from this account's upload. Send only one image source. Valid for 24 hours.
image_urlstringPublic HTTPS URL to the image to test.

upload_scene_image Add a private scene image

Use when a scene question needs an image that is attached in chat or on the user's device and no accessible image URL is available. Opens a private upload panel where the user chooses the actual file; do not reconstruct image bytes or invent an image ID. The panel returns an account-owned image_id valid for 24 hours to use for subsequent scene and claim requests. Uploading does not run an analysis or spend analysis credits. Requires sign-in and storage enabled on the account. Clients without MCP Apps must use the local file helper or authenticated multipart POST /api/v1/images.

store_scene_image Store the selected scene image

Upload the actual image bytes selected in the private upload panel. Returns metadata and an owned image_id only. Does not run an analysis.

ParameterTypeDescription
image_b64 *stringRaw base64 bytes from the user-selected file; transferred by the app, never reconstructed from the conversation.

check_credits Check Oceanir credits

Use before a batch of analyses, or when a call fails for lack of credits. Returns the authenticated Oceanir account's current credit balance and remaining monthly allowance. Free.

list_past_scenes List past Oceanir results

List this account's past Oceanir results, newest first: place, coordinates, confidence, depth and date. Read-only: it never runs a new analysis and never spends credits. Accounts with analysis history switched off return nothing. Reads the scene only (architecture, signage, terrain, vegetation), never the people in it. No face recognition, no biometric identification, no person matching. It answers where an image was taken, never who is in it, and must not be used to locate or track a person.

ParameterTypeDescription
citystringOptional exact city name to filter by.
limitintegerHow many results to return, newest first.
querystringOptional text to match against the neighborhood, city or file name.

list_cases List Oceanir cases

List this account's cases (named groups of results), newest first, with their ids. Read-only: it never runs an analysis and never spends credits.

ParameterTypeDescription
limitintegerHow many cases to return.

get_case Summarize an Oceanir case

Read a case's summary: what it holds, the results attached to it and where they point. Read-only: it never runs an analysis and never spends credits. Reads the scene only (architecture, signage, terrain, vegetation), never the people in it. No face recognition, no biometric identification, no person matching. It answers where an image was taken, never who is in it, and must not be used to locate or track a person.

ParameterTypeDescription
case_id *stringThe id of the case.

create_case Create an Oceanir case

Create an empty case to group related results. Free: it spends no credits. Returns the new case's id.

ParameterTypeDescription
name *stringA label you will recognise, for example the listing or claim it is about.
descriptionstringOptional context, such as the location the source claims.

add_scene_to_case Analyze an image into a case

Use when an image belongs to an investigation you are grouping in a case (create one first with create_case). Analyzes one image and attaches the result. Spends credits at the usual rates (D1 1, D2 2, D3 4). Capped at 20 analyses an hour per account, and a connected app is limited to depth 2. Returns the analysis and the case id. Reads the scene only (architecture, signage, terrain, vegetation), never the people in it. No face recognition, no biometric identification, no person matching. It answers where an image was taken, never who is in it, and must not be used to locate or track a person.

ParameterTypeDescription
case_id *stringThe id of the case.
depthintegerAnalysis depth. 1 = Surface (1 credit). 2 = Standard (2 credits). 3 = Forensic (4 credits; agent tokens with maximum depth 3 only).
image_b64stringBase64-encoded image bytes (no data: prefix).
image_urlstringPublic HTTPS URL to the image to analyze.

get_usage Check Oceanir usage

Use to budget or report spend. Returns the last 30 days of Oceanir usage for the authenticated account: calls, credits used, a breakdown by depth, and what remains. Read-only; it never spends credits.