フリー問題

Model Context Protocol Associate のフリー問題 5 / 20 問目

問題文

A tool marks one of its parameters with x-mcp-header. Where must that property sit within the inputSchema for the annotation to be valid?

選択肢

  1. It may sit anywhere in the schema, including inside oneOf branches, as long as the resulting header name is unique within the whole schema, because the client extracts the value from the call arguments rather than from the schema itself.
  2. It must be statically reachable from the schema root through a chain consisting solely of properties keys.
  3. It must sit inside items so that arrays of values can be mirrored.
  4. It must sit at the top level only; nested objects are not allowed.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。