Tag
Gestire tag delle risorse e assegnazioni dei tag. Gli esempi usano la modalità codice A2A. MCP espone la stessa modalità codice tramite lo strumentoexecute.
Funzioni
tags.add
tags.add.
| Proprietà | Valore | Proprietà | Valore |
|---|---|---|---|
| Autorizzazione richiesta | tag.manage | Autenticazione richiesta | sì |
| Modalità di esecuzione | sync | Capacità | tag.manage |
| Tipo di risorsa | account | Campo ID risorsa | account_id |
| Route API pubblica | POST /v1/public/accounts/{account_id}/tags |
Argomenti
Argomenti
| Nome | Tipo | Obbligatorio |
|---|---|---|
account_id | str | sì |
tag_name | str | sì |
color_hex | str | no |
description | str | null | no |
Restituisce
Restituisce
| Campo | Tipo | Obbligatorio |
|---|---|---|
color_hex | str | sì |
id | str | sì |
name | str | sì |
created_at | str | null | no |
description | str | null | no |
updated_at | str | null | no |
Esempio A2A
Esempio A2A
Richiesta:Risposta:
Esempio MCP
Esempio MCP
Richiesta:Risposta:
tags.delete
tags.delete.
| Proprietà | Valore | Proprietà | Valore |
|---|---|---|---|
| Autorizzazione richiesta | tag.manage | Autenticazione richiesta | sì |
| Modalità di esecuzione | sync | Capacità | tag.manage |
| Tipo di risorsa | account | Campo ID risorsa | account_id |
| Route API pubblica | DELETE /v1/public/accounts/{account_id}/tags/{tag_id} |
Argomenti
Argomenti
| Nome | Tipo | Obbligatorio |
|---|---|---|
account_id | str | sì |
tag_id | str | sì |
Restituisce
Restituisce
| Campo | Tipo | Obbligatorio |
|---|---|---|
result | {} | sì |
Esempio A2A
Esempio A2A
Richiesta:Risposta:
Esempio MCP
Esempio MCP
Richiesta:Risposta:
tags.domains.assign
tags.domains.assign.
| Proprietà | Valore | Proprietà | Valore |
|---|---|---|---|
| Autorizzazione richiesta | tag.manage | Autenticazione richiesta | sì |
| Modalità di esecuzione | sync | Capacità | tag.manage |
| Tipo di risorsa | account | Campo ID risorsa | account_id |
| Route API pubblica | POST /v1/public/accounts/{account_id}/tags/{tag_id}/domains/assign |
Argomenti
Argomenti
| Nome | Tipo | Obbligatorio |
|---|---|---|
account_id | str | sì |
tag_id | str | sì |
domain_ids | [str] | sì |
Restituisce
Restituisce
| Campo | Tipo | Obbligatorio |
|---|---|---|
domain_ids | [str] | sì |
tag_id | str | sì |
Esempio A2A
Esempio A2A
Richiesta:Risposta:
Esempio MCP
Esempio MCP
Richiesta:Risposta:
tags.domains.unassign
tags.domains.unassign.
| Proprietà | Valore | Proprietà | Valore |
|---|---|---|---|
| Autorizzazione richiesta | tag.manage | Autenticazione richiesta | sì |
| Modalità di esecuzione | sync | Capacità | tag.manage |
| Tipo di risorsa | account | Campo ID risorsa | account_id |
| Route API pubblica | POST /v1/public/accounts/{account_id}/tags/{tag_id}/domains/unassign |
Argomenti
Argomenti
| Nome | Tipo | Obbligatorio |
|---|---|---|
account_id | str | sì |
tag_id | str | sì |
domain_ids | [str] | sì |
Restituisce
Restituisce
| Campo | Tipo | Obbligatorio |
|---|---|---|
result | {} | sì |
Esempio A2A
Esempio A2A
Richiesta:Risposta:
Esempio MCP
Esempio MCP
Richiesta:Risposta:
tags.list
tags.list.
| Proprietà | Valore | Proprietà | Valore |
|---|---|---|---|
| Autorizzazione richiesta | tag.view | Autenticazione richiesta | sì |
| Modalità di esecuzione | sync | Capacità | tag.view |
| Tipo di risorsa | account | Campo ID risorsa | account_id |
| Route API pubblica | GET /v1/public/accounts/{account_id}/tags |
Argomenti
Argomenti
| Nome | Tipo | Obbligatorio |
|---|---|---|
account_id | str | sì |
page | int | no |
page_size | int | no |
Restituisce
Restituisce
| Campo | Tipo | Obbligatorio |
|---|---|---|
items | [{"color_hex": str, "id": str, "name": str, "created_at"?: str | null, "description"?: str | null, "updated_at"?: str | null}] | sì |
page | int | sì |
page_size | int | sì |
total | int | sì |
Esempio A2A
Esempio A2A
Richiesta:Risposta:
Esempio MCP
Esempio MCP
Richiesta:Risposta:
tags.update
tags.update.
| Proprietà | Valore | Proprietà | Valore |
|---|---|---|---|
| Autorizzazione richiesta | tag.manage | Autenticazione richiesta | sì |
| Modalità di esecuzione | sync | Capacità | tag.manage |
| Tipo di risorsa | account | Campo ID risorsa | account_id |
| Route API pubblica | PATCH /v1/public/accounts/{account_id}/tags/{tag_id} |
Argomenti
Argomenti
| Nome | Tipo | Obbligatorio |
|---|---|---|
account_id | str | sì |
tag_id | str | sì |
color_hex | str | null | no |
description | str | null | no |
tag_name | str | null | no |
Restituisce
Restituisce
| Campo | Tipo | Obbligatorio |
|---|---|---|
color_hex | str | sì |
id | str | sì |
name | str | sì |
created_at | str | null | no |
description | str | null | no |
updated_at | str | null | no |
Esempio A2A
Esempio A2A
Richiesta:Risposta:
Esempio MCP
Esempio MCP
Richiesta:Risposta: