identity:
  name: fetchAnsByStackExQuesID
  author: Richards Tu
  label:
    en_US: Fetch Stack Exchange Answers
    zh_Hans: 获取 Stack Exchange 答案
description:
  human:
    en_US: A tool for retrieving answers for a specific Stack Exchange question ID. Must be used with the searchStackExQuesID tool.
    zh_Hans: 用于检索特定Stack Exchange问题ID的答案的工具。必须与searchStackExQuesID工具一起使用。
  llm: A tool for retrieving answers for Stack Exchange question ID.
parameters:
  - name: id
    type: string
    required: true
    label:
      en_US: Question ID
      zh_Hans: 问题ID
    human_description:
      en_US: The ID of the Stack Exchange question to fetch answers for.
      zh_Hans: 要获取答案的Stack Exchange问题的ID。
    llm_description: The ID of the Stack Exchange question.
    form: llm
  - name: site
    type: string
    required: true
    label:
      en_US: Stack Exchange site
      zh_Hans: Stack Exchange站点
    human_description:
      en_US: The Stack Exchange site the question is from, e.g. stackoverflow, unix, etc.
      zh_Hans: 问题所在的Stack Exchange站点，例如stackoverflow、unix等。
    llm_description: Stack Exchange site identifier - 'stackoverflow', 'serverfault', 'superuser', 'askubuntu', 'unix', 'cs', 'softwareengineering', 'codegolf', 'codereview', 'cstheory', 'security', 'cryptography', 'reverseengineering', 'datascience', 'devops', 'ux', 'dba', 'gis', 'webmasters', 'arduino', 'raspberrypi', 'networkengineering', 'iot', 'tor', 'sqa', 'mathoverflow', 'math', 'mathematica', 'dsp', 'gamedev', 'robotics', 'genai', 'computergraphics'.
    form: llm
  - name: filter
    type: string
    required: true
    label:
      en_US: Filter
      zh_Hans: 过滤器
    human_description:
      en_US: This is required in order to actually get the body of the answer.
      zh_Hans: 为了实际获取答案的正文是必需的。
    options:
      - value: "!nNPvSNdWme"
        label:
          en_US: Must Select
          zh_Hans: 必须选择
    form: form
    default: "!nNPvSNdWme"
  - name: order
    type: string
    required: true
    label:
      en_US: Sort direction
      zh_Hans: 排序方向
    human_description:
      en_US: The direction to sort the answers - ascending or descending.
      zh_Hans: 答案的排序方向 - 升序或降序。
    form: form
    options:
      - value: asc
        label:
          en_US: Ascending
          zh_Hans: 升序
      - value: desc
        label:
          en_US: Descending
          zh_Hans: 降序
    default: desc
  - name: sort
    type: string
    required: true
    label:
      en_US: Sort order
      zh_Hans: 排序
    human_description:
      en_US: The sort order for the answers - activity, votes, or creation date.
      zh_Hans: 答案的排序顺序 - 活动、投票或创建日期。
    llm_description: activity, votes, or creation.
    form: llm
  - name: pagesize
    type: number
    required: true
    label:
      en_US: Results per page
      zh_Hans: 每页结果数
    human_description:
      en_US: The number of answers to return per page.
      zh_Hans: 每页返回的答案数。
    form: form
    min: 1
    max: 5
    default: 1
  - name: page
    type: number
    required: true
    label:
      en_US: Page number
      zh_Hans: 页码
    human_description:
      en_US: The page number of answers to retrieve.
      zh_Hans: 要检索的答案的页码。
    form: form
    min: 1
    max: 5
    default: 3
