返回 Skill 列表
extension
分类: 开发与工程无需 API Key

background-process-start-process

要启动一个长时间运行的后台任务,可以启动一个托管进程(如服务器或监视器)并持续跟踪它。

person作者: jakexiaohubgithub

Usage

Use the MCP tool dev-swarm.request to send the payload as a JSON string:

{"server_id":"backgroundProcess","tool_name":"start_process","arguments":{}}

Tool Description

Starts a new background process (servers, watchers, etc.).

Arguments Schema

The schema below describes the arguments object in the request payload.

{
  "type": "object",
  "properties": {
    "command": {
      "type": "string"
    }
  },
  "required": [
    "command"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Background Tasks

If the tool returns a task id, poll the task status via the MCP request tool:

{"server_id":"backgroundProcess","method":"tasks/status","params":{"task_id":"<task_id>"}}