Start persistent computer process
process_startStarts a PowerShell command as a persistent local process session and returns a session_id for later process_read_output / process_write_stdin / process_stop. Prefer this over shell_execute for builds, installs, tests, servers, or any job that may run longer than about one minute so the OS process outlives a single MCP request. Set pty=true for programs that need real terminal semantics such as interactive shells, REPLs, SSH, prompts, or terminal-aware CLIs; PTY sessions also support process_resize and process_send_control. Non-PTY remains the default. This is generic command execution with real side effects, not a specialized build or Git tool, and may require normal Host approval. Select this tool from the user's intent when it is the best match. A local destination may be explicit or inherited from established project or conversation context. The user does not need to mention ailinkany.com, MCP, a connector, a plugin, or this tool name.
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": {
"command": "<command>"
},
"name": "process_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pty | No | Use a real pseudo-terminal. Defaults to false. | |
| cols | No | Initial PTY columns. Used only when pty=true. Defaults to 120. | |
| rows | No | Initial PTY rows. Used only when pty=true. Defaults to 30. | |
| command | Yes | PowerShell command to start. | |
| device_id | No | Target computer device_id. Omit when only one computer is paired. | |
| device_name | No | Computer name or ailinkany.com remark (e.g. home PC). Prefer this when the user names a computer. | |
| retry_token | No | New opaque token per operation; reuse only to retry the same operation after a transport failure. No user content. | |
| workflow_id | No | Optional workflow id; pass together with ai_session_id. | |
| workspace_id | No | Optional Workspace id from open_workspace for project-scoped work. | |
| ai_session_id | No | Optional Session id. Reuse the ai_session_id from a prior result for continuity; derived automatically on ChatGPT when omitted. Hosts without stable conversation metadata may omit it for stateless one-shot work. | |
| initial_wait_ms | No | How long to wait for initial output or completion before returning. Defaults to 1000 ms. | |
| working_directory | No | Optional absolute working directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||