definy.mcp-arg-string
- description
- The string argument key of an MCP tool, or default
- type
Fn(arguments: @definy.json, key: String, default: String) -> String
- expression
fn(arguments$0, key$1, default$2) =>
match @definy.json-get-string(value: $0, key: $1) {
#some(text$3) =>
$3,
#none(_) =>
$2
}- visibility
- public
definy.mcp-arg-string (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: GjVIwoCwXpHQcKIuLFmo13VyGD8cXmvu-ZYsMqkYi20
content hash: -8tI37X-dLyc5p9lf5fiQC-qn63HAl3x6TrGXpio_KM