모든 도구

agent_send

에이전트 네트워크 · macOS · Windows

효과: 보내기. 상태: 조건부 제공.

‘조건부 제공’은 도구가 버전, 플랫폼, 권한, 계정 또는 설정에 따라 달라질 수 있음을 뜻하며 모든 설치에서 활성화되었다는 의미는 아닙니다.

macOS

목적

사용자의 다른 머신에 있는 에이전트에게 조정 메시지를 보냅니다(agents_list에서 handle을 얻으세요). 릴리스 중 병합 중지('freeze'), PR 준비 알림('pr-ready'), 작업 인계('handoff'), 릴리스 완료 알림('release-out')에 사용합니다. to_agent가 없으면 해당 머신의 모든 에이전트에 전달되며, 동결 알림에는 이것이 적합합니다. 지정한 to_agent는 ALIVE 상태여야 하며 agents_list에서 가져오고 만들어 내지 마세요. 살아 있지 않으면 현재 살아 있는 agent_ids 목록과 함께 404가 반환되므로 메시지를 잃지 않고 대상 주소를 다시 지정할 수 있습니다. 수신자는 다음 agent_inbox 폴링에서 받습니다. 즉시 전달되지 않으며 강제할 수 있는 요청도 아닙니다. 다른 에이전트가 수행 여부를 결정합니다.

필수 입력

입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.

권한 및 확인

스키마에 명시적 확인 매개변수가 없습니다. 이는 무단 작업을 허용하지 않습니다. 효과를 검토하고 승인을 받으세요.

영문 정식 기술 스키마macOS
{
  "properties": {
    "from_agent": {
      "description": "Your own agent_id, so the recipient knows who is asking",
      "type": "string"
    },
    "msg_type": {
      "description": "One of: ping, pr-ready, freeze, freeze-clear, release-out, handoff, note",
      "type": "string"
    },
    "payload": {
      "description": "The content: reason, PR number, branch… Keep it small (max 16KB).",
      "type": "object"
    },
    "to": {
      "description": "Handle of the target machine, from agents_list",
      "type": "string"
    },
    "to_agent": {
      "description": "Optional: a single agent_id on that machine (it must have checked in). Omit to reach all of them.",
      "type": "string"
    }
  },
  "required": [
    "to",
    "msg_type"
  ],
  "type": "object"
}

문서 예시

agent_send 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.

{
  "msg_type": "note",
  "payload": {
    "message": "The documentation review is ready."
  },
  "to": "demo-workstation"
}

Windows

목적

사용자의 다른 머신에 있는 에이전트에게 조정 메시지를 보냅니다(agents_list에서 handle을 얻으세요). 릴리스 중 병합 중지('freeze'), PR 준비 알림('pr-ready'), 작업 인계('handoff'), 릴리스 완료 알림('release-out')에 사용합니다. to_agent가 없으면 해당 머신의 모든 에이전트에 전달되며 동결 알림에는 이것이 적합합니다. 수신자는 다음 agent_inbox 폴링에서 받습니다. 즉시 전달되지 않으며 강제할 수 있는 요청도 아닙니다. 다른 에이전트가 수행 여부를 결정합니다.

필수 입력

입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.

권한 및 확인

스키마에 명시적 확인 매개변수가 없습니다. 이는 무단 작업을 허용하지 않습니다. 효과를 검토하고 승인을 받으세요.

영문 정식 기술 스키마Windows
{
  "properties": {
    "from_agent": {
      "description": "Your own agent_id, so the recipient knows who is asking",
      "type": "string"
    },
    "msg_type": {
      "description": "One of: ping, pr-ready, freeze, freeze-clear, release-out, handoff, note",
      "type": "string"
    },
    "payload": {
      "description": "The content: reason, PR number, branch… Keep it small (max 16KB).",
      "type": "object"
    },
    "to": {
      "description": "Handle of the target machine, from agents_list",
      "type": "string"
    },
    "to_agent": {
      "description": "Optional: a single agent_id on that machine (it must have checked in). Omit to reach all of them.",
      "type": "string"
    }
  },
  "required": [
    "to",
    "msg_type"
  ],
  "type": "object"
}

문서 예시

agent_send 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.

{
  "msg_type": "note",
  "payload": {
    "message": "The documentation review is ready."
  },
  "to": "demo-workstation"
}