Table of Contents

Class PerplexityHostedTools

Namespace
Mythosia.AI.Models.Perplexity
Assembly
Mythosia.AI.Abstractions.dll

Constructors for server-hosted tools. Additional documented settings can be supplied through Parameters.

public static class PerplexityHostedTools
Inheritance
PerplexityHostedTools
Inherited Members

Methods

Connector(string, string, IEnumerable<string>?, string?)

References an already connected integration in the API portal. This provider feature is in preview.

public static PerplexityHostedTool Connector(string id, string serverLabel, IEnumerable<string>? allowedTools = null, string? description = null)

Parameters

id string
serverLabel string
allowedTools IEnumerable<string>
description string

Returns

PerplexityHostedTool

FetchUrl()

public static PerplexityHostedTool FetchUrl()

Returns

PerplexityHostedTool

FinanceSearch()

public static PerplexityHostedTool FinanceSearch()

Returns

PerplexityHostedTool

Mcp(string, Uri, IEnumerable<string>?, string?, bool, IReadOnlyDictionary<string, string>?)

Connects a Streamable HTTP MCP server. Calls execute on the server without an approval pause.

public static PerplexityHostedTool Mcp(string serverLabel, Uri serverUrl, IEnumerable<string>? allowedTools = null, string? authorization = null, bool deferLoading = false, IReadOnlyDictionary<string, string>? headers = null)

Parameters

serverLabel string
serverUrl Uri
allowedTools IEnumerable<string>
authorization string
deferLoading bool
headers IReadOnlyDictionary<string, string>

Returns

PerplexityHostedTool

PeopleSearch()

public static PerplexityHostedTool PeopleSearch()

Returns

PerplexityHostedTool

Sandbox()

public static PerplexityHostedTool Sandbox()

Returns

PerplexityHostedTool

WebSearch()

public static PerplexityHostedTool WebSearch()

Returns

PerplexityHostedTool