type_text
Type text into a macOS app, such as a document, form, or chat box. Optionally press Return and bring a specific app to the front.
Instructions
Type text into an app — for writing into a document, a form, a chat box.
Keystrokes go to whatever is in front, so pass `app` (or focus it first) when the text is meant
for a particular one. Don't use this to run shell commands; use run_shell, which returns output.
Args:
text: The literal text to type.
press_return: True to press Return afterwards (submits the line).
app: App to bring to the front first, e.g. "Google Chrome", "Notes". Strongly recommended.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | ||
| text | Yes | ||
| press_return | No |