ipt_set_mapping
Adjust an IPT resource's Darwin Core mapping by linking terms to column headers, setting constant defaults, and choosing the record ID column.
Instructions
[writes to the IPT] Adjust a mapping: columns maps a term (URI, dwc:name or name) to a source column header (null to unmap); defaults gives constant values; idColumn picks the record ID column.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"shortname": "<shortname>",
"rowType": "<rowType>"
},
"name": "ipt_set_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mid | No | ||
| columns | No | ||
| rowType | Yes | ||
| defaults | No | ||
| idColumn | No | ||
| shortname | Yes | Resource shortname |