Composway Docs
Tool reference

Deep research

Perform deep research on how people ask on a related topic.

Tool name: deep_research

Cost: Free - not billed, and does not draw on a plan quota.

Read-only

This tool only reads. It never creates or changes anything, so an assistant may call it without asking you first.

Perform deep research on how people ask on a related topic. Returns the campaign's related questions and pain points together with the authoritative sources competitors are cited for. Call this when drafting the article.

Parameters

ParameterTypeRequiredNotes
campaignIdstring (uuid)Yes-
Full input JSON Schema
{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"type": "object",
	"properties": {
		"campaignId": {
			"type": "string",
			"format": "uuid",
			"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
		}
	},
	"required": ["campaignId"]
}

Response

Full output JSON Schema
{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"type": "object",
	"properties": {
		"data": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {},
				"additionalProperties": {}
			}
		},
		"painPoints": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"name": {
						"type": "string"
					},
					"urls": {
						"type": "array",
						"items": {
							"type": "string"
						}
					}
				},
				"required": ["name", "urls"],
				"additionalProperties": {}
			}
		},
		"workspaceId": {
			"anyOf": [
				{
					"type": "string",
					"format": "uuid",
					"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
				},
				{
					"type": "null"
				}
			]
		},
		"campaignId": {
			"type": "string",
			"format": "uuid",
			"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
		},
		"promptIds": {
			"type": "array",
			"items": {
				"type": "string",
				"format": "uuid",
				"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
			}
		},
		"authoritativeSources": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"name": {
						"type": "string"
					},
					"url": {
						"type": "string"
					},
					"cited": {
						"type": "object",
						"properties": {
							"max": {
								"type": "integer",
								"minimum": -9007199254740991,
								"maximum": 9007199254740991
							},
							"min": {
								"type": "integer",
								"minimum": -9007199254740991,
								"maximum": 9007199254740991
							},
							"webpageCount": {
								"type": "integer",
								"minimum": -9007199254740991,
								"maximum": 9007199254740991
							}
						},
						"required": ["max", "min", "webpageCount"],
						"additionalProperties": {}
					},
					"coveredWebpages": {
						"type": "array",
						"items": {
							"type": "object",
							"properties": {},
							"additionalProperties": {}
						}
					}
				},
				"required": ["name", "url", "cited"],
				"additionalProperties": {}
			}
		}
	},
	"required": [
		"data",
		"painPoints",
		"campaignId",
		"promptIds",
		"authoritativeSources"
	],
	"additionalProperties": false
}

On this page