• /
  • EnglishEspañolFrançais日本語한국어Português
  • ログイン今すぐ開始

この機械翻訳は、参考として提供されています。

英語版と翻訳版に矛盾がある場合は、英語版が優先されます。詳細については、このページを参照してください。

問題を作成する

New Relicのアクション

|View as Markdown (English)

このページでは、ワークフロー自動化アクション カタログで利用可能なNew Relicアクションの包括的なリファレンスを提供します。 これらのアクションにより、エージェント プラットフォームで構成されたエージェントを実行できるようになります。

エージェントのアクション

エージェントを実行する

エージェントティック プラットフォームで構成されたエージェントを実行します。

入力

タイプ

説明

プロンプト

弦

Required.

A prompt is simply your instruction to an AI Agent. It's the question you ask or the command you give to get a specific result.

エージェントID

弦

Required.

A unique identifier for the agent, including its version. Format: must start with a letter or underscore and may only contain letters, numbers, underscores, or hyphens.

スレッドID

弦

Optional.

A unique identifier for the conversation thread in UUID format.

コンテキスト

リスト

Optional. Additional contextual information for the request.

制約と要件:

  • 構造: リスト内の各要素は、descriptionと対応するvalueを厳密に含むオブジェクトである必要があります。

  • 容量: 1リクエストにつき最大10個のコンテキスト項目を指定できます。

  • セキュリティ: このフィールドにシークレットの参照を含めることは固く禁じられています。

    例:

    context:
    - description: accountId
    value: "12345678"
    - description: slack_channel_id
    value: "CXXXXXXXXX"

selectors

リスト

Optional. The selectors to get the only specified parameters as output.

例:

selectors:
- name: success
expression: .success
- name: error
expression: .errorMessage
- name: response
expression: .response.finalAnswer

出力

タイプ

説明

response

オブジェクト

エージェントの反応

success

ブール値

リクエストのステータス。

errorMessage

弦

失敗の理由をメッセージとして表示します。

name: demo-run-agent
description: Run newrelic word problem agent
steps:
- name: runAgent
type: action
action: newrelic.agent.run
version: '1'
inputs:
prompt: Sum of prime number less than 100
agentId: word_problem_agent
context:
- description: accountId
value: "12345678"
- description: slack_channel_id
value: "CXXXXXXXXX"
selectors:
- name: success
expression: .success
- name: error
expression: .errorMessage
- name: response
expression: .response
Copyright © 2026 New Relic株式会社。

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.