mit einem Klick
translator
// Translates text between languages. Use this when the user wants to translate a word, phrase, or passage into another language.
// Translates text between languages. Use this when the user wants to translate a word, phrase, or passage into another language.
Track daily expenses and income. Use when the user wants to log spending, record a purchase, add income, or see a budget summary.
Calculate the cryptographic hash of a given text. Supports SHA-1, SHA-256, SHA-384, and SHA-512.
Generate a secure random password. Use when the user asks to generate, create, or make a password.
Generates a QR code for the given url.
| name | translator |
| description | Translates text between languages. Use this when the user wants to translate a word, phrase, or passage into another language. |
The translator skill translates text between any pair of languages. You perform the translation using your own knowledge, then call run_js to display the result and save it to the local history.
run_js with index.html to display the result and persist it.When a user wants to translate text, call run_js with:
index.htmlaction: "translate"original: String — the original text exactly as the user provided ittranslated: String — your translationsource_lang: String — detected or specified source language (e.g. "English", "Auto-detected")target_lang: String — target language (e.g. "French", "Japanese")When a user asks to see their translation history, call run_js with:
index.htmlaction: "history"When a user wants to clear their translation history, call run_js with:
index.htmlaction: "clear"run_js — never call run_js with an empty translated field.run_js call per language.