updateCompany
Modify company details such as address, contact information, and tags using the specified companyId and companyRequest parameters within the Teamwork MCP environment.
Instructions
This tool allows you to update a company. It requires parameters: companyId and companyRequest.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
companyId | Yes | Path parameter: companyId | |
companyRequest | Yes | ||
options | No | Additional options for the request |
Input Schema (JSON Schema)
{
"properties": {
"companyId": {
"description": "Path parameter: companyId",
"type": "integer"
},
"companyRequest": {
"properties": {
"addressOne": {
"description": "First line of address",
"type": "string"
},
"addressTwo": {
"description": "Second line of address",
"type": "string"
},
"city": {
"description": "City",
"type": "string"
},
"company": {
"properties": {
"name": {
"description": "Company name",
"type": "string"
}
},
"type": "object"
},
"countryCode": {
"description": "Country code",
"type": "string"
},
"emailOne": {
"description": "First email address",
"type": "string"
},
"emailTwo": {
"description": "Second email address",
"type": "string"
},
"fax": {
"description": "Fax number",
"type": "string"
},
"name": {
"description": "Company name",
"type": "string"
},
"phone": {
"description": "Phone number",
"type": "string"
},
"state": {
"description": "State",
"type": "string"
},
"tags": {
"description": "List of tags",
"items": {
"type": "string"
},
"type": "array"
},
"website": {
"description": "Website URL",
"type": "string"
},
"zip": {
"description": "ZIP/Postal code",
"type": "string"
}
},
"type": "object"
},
"options": {
"description": "Additional options for the request",
"properties": {},
"type": "object"
}
},
"required": [
"companyId",
"companyRequest"
],
"type": "object"
}