tinplate_omnibar_nlp_batch
Natural Language Command, Intent & Agent Router API (batch): Parse natural-language user commands into 46 structured intents, grounded entity spans, and sub-0.2 ms autocomplete in <1 ms offline. (Endpoint: POST /v1/omnibar/batch)
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": {
"inputs": "<inputs>"
},
"name": "tinplate_omnibar_nlp_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | No | Optional ISO-8601 reference timestamp for deterministic date/time calculations (defaults to current UTC time). | |
| inputs | Yes | Ordered list of 1–50 commands parsed sequentially with automatic stateless 'ans' and 'patch_last' chaining. | |
| locale | No | Optional language hint across 13 supported locales (en, hu, de, es, fr, it, pt, pl, nl, sv, tr, ja, zh) for diacritic-insensitive polyglot parsing. | |
| macros | No | Optional user-defined alias map (trigger -> expansion) applied before parsing. | |
| domains | No | Optional allowlist of enabled intent domains. Intents outside this list gracefully fall back to 'task' or 'ai_ask'. | |
| fx_rates | No | Optional custom FX rates (value of 1 currency unit in USD) merged over the built-in 39-currency reference table. | |
| projects | No | Optional list of project references for '#project' resolution in tasks and expenses. | |
| snapshot | No | Optional workspace metrics & entity names (contacts, open tasks, books, habits, goals, jobs) for offline Q&A and attendee matching. | |
| timezone | No | Optional IANA timezone for resolving relative dates such as 'today', 'tomorrow', or 'yesterday' (default 'UTC'). | |
| wake_words | No | Optional assistant wake words stripped from conversational prefixes. | |
| include_ics | No | When true and the parsed intent is a 'task', emits an RFC 5545 VCALENDAR/VEVENT/VALARM .ics string. | |
| last_answer | No | Optional previous numeric calculator answer for stateless 'ans' chaining (e.g. 'ans * 2'). | |
| custom_foods | No | Optional per-request custom or branded foods merged ahead of the built-in 294-food USDA v2 database. | |
| custom_routes | No | Optional caller-defined navigation routes matched by the 'navigate' intent. | |
| include_spans | No | Include exact UTF-16 character-offset entity spans guaranteed to match text.slice(start, end) === span.text. | |
| allow_compound | No | When true (default), splits chained multi-action statements and multi-line pasted checklists. | |
| include_tokens | No | Include semantic syntax-highlighting token spans in the response. | |
| user_weight_kg | No | Optional user bodyweight in kilograms for MET calories-burned estimates on workout & step logs (default 70). | |
| previous_intent | No | Optional stateless previous intent object returned from an earlier /v1/omnibar/parse call, enabling 'patch_last' follow-up corrections (e.g. 'actually make it 3pm'). | |
| default_currency | No | Optional 3-letter ISO-4217 fallback currency code (39 global currencies supported) when input omits a currency symbol. | |
| include_sentiment | No | Include offline polarity, mood, and urgency analysis. | |
| include_alternatives | No | Include secondary disambiguation intents when input phrasing is ambiguous. | |
| custom_slash_commands | No | Optional per-request custom slash commands normalized before parsing (e.g. '/jira' -> 'task: [JIRA] '). |