Tool tree
Phrase Flip is a browser extension that turns everyday browsing into an immersive language learning experience. All translation happens on-device.
Implementation
gradeNot graded
gradeNot graded
set_demo_previewAction
Set the Phrase Flip live preview language and intensity, then update the visible demo sentences.
View tool JSON
{
"name": "set_demo_preview",
"kind": "act",
"impl": "imperative",
"description": "Set the Phrase Flip live preview language and intensity, then update the visible demo sentences.",
"inputSchema": {
"type": "object",
"properties": {
"language": {
"type": "string",
"enum": [
"es",
"fr",
"el",
"de",
"it",
"pt",
"ja",
"ko",
"zh",
"nl"
],
"oneOf": [
{
"type": "string",
"const": "es",
"title": "Spanish"
},
{
"type": "string",
"const": "fr",
"title": "French"
},
{
"type": "string",
"const": "el",
"title": "Greek"
},
{
"type": "string",
"const": "de",
"title": "German"
},
{
"type": "string",
"const": "it",
"title": "Italian"
},
{
"type": "string",
"const": "pt",
"title": "Portuguese"
},
{
"type": "string",
"const": "ja",
"title": "Japanese"
},
{
"type": "string",
"const": "ko",
"title": "Korean"
},
{
"type": "string",
"const": "zh",
"title": "Chinese"
},
{
"type": "string",
"const": "nl",
"title": "Dutch"
}
],
"description": "Target language code for translated demo sentences."
},
"percent": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Approximate percentage of demo sentences to flip."
}
}
},
"page": "/"
}restore_demo_previewAction
Restore all translated sentences in the Phrase Flip live preview back to English.
View tool JSON
{
"name": "restore_demo_preview",
"kind": "act",
"impl": "imperative",
"description": "Restore all translated sentences in the Phrase Flip live preview back to English.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/"
}get_demo_preview_stateAnswer
Report the current Phrase Flip live preview language, intensity, and flipped sentence count.
View tool JSON
{
"name": "get_demo_preview_state",
"kind": "answer",
"impl": "imperative",
"description": "Report the current Phrase Flip live preview language, intensity, and flipped sentence count.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/"
}