@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/?post_type=lh-portfolio&#038;p=147060>
  a sioc:Post ;
  dc:title "MCP abilities" ;
  dcterms:identifier 147060 ;
  dc:modified "2026-10-15T00:17:42Z"^^xsd:dateTime ;
  dc:created "2026-09-05T12:14:08Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-polls/mcp-abilities/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded "<ul class=\"lh_portfolio-meta\"><li><strong>Part of:</strong> <a href=\"https://lhero.org/portfolio/lh-polls/\">LH Polls</a></li></ul><div class=\"lh_portfolio-ability-reference\"><ul class=\"lh_portfolio-ability-reference-index\"><li><a href=\"#ability-get-poll\"><code>get-poll</code></a> Get Poll</li><li><a href=\"#ability-get-votes\"><code>get-votes</code></a> Get Votes</li><li><a href=\"#ability-list-polls\"><code>list-polls</code></a> List Polls</li></ul><section class=\"lh_portfolio-ability-reference-ability\" id=\"ability-get-poll\"><h2>Get Poll</h2><p class=\"lh_portfolio-ability-reference-meta\"><code>lh-polls/get-poll</code> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-readonly\">Read-only</span> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-idempotent\">Idempotent</span></p><p>Fetch a single poll with its options and current vote counts. Requires <code>install_plugins</code>. Pass <code>site_id</code> to act on another site you belong to.</p><figure class=\"wp-block-table lh_portfolio-ability-reference-params\"><table><thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>poll_id</code></td><td>integer</td><td>Yes</td><td></td><td>The post ID of the poll.</td></tr><tr><td><code>site_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.</td></tr></tbody></table></figure></section><section class=\"lh_portfolio-ability-reference-ability\" id=\"ability-get-votes\"><h2>Get Votes</h2><p class=\"lh_portfolio-ability-reference-meta\"><code>lh-polls/get-votes</code> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-readonly\">Read-only</span> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-idempotent\">Idempotent</span></p><p>Fetch votes for a poll, optionally filtered by option. Returns voter details, comment text, and timestamp. Useful for summarising results once a poll has closed. Requires <code>install_plugins</code>. Pass <code>site_id</code> to act on another site you belong to.</p><figure class=\"wp-block-table lh_portfolio-ability-reference-params\"><table><thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>poll_id</code></td><td>integer</td><td>Yes</td><td></td><td>The post ID of the poll.</td></tr><tr><td><code>option_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. Filter to a specific option ID, which must belong to the poll.</td></tr><tr><td><code>site_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.</td></tr></tbody></table></figure></section><section class=\"lh_portfolio-ability-reference-ability\" id=\"ability-list-polls\"><h2>List Polls</h2><p class=\"lh_portfolio-ability-reference-meta\"><code>lh-polls/list-polls</code> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-readonly\">Read-only</span> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-idempotent\">Idempotent</span></p><p>List all polls on the current site with their status, option count, and total vote count. Requires <code>install_plugins</code>. Pass <code>site_id</code> to act on another site you belong to.</p><figure class=\"wp-block-table lh_portfolio-ability-reference-params\"><table><thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>status</code></td><td>string</td><td>No</td><td></td><td>Filter by post status. Defaults to any. One of: <code>publish</code>, <code>draft</code>, <code>private</code>, <code>any</code>.</td></tr><tr><td><code>site_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.</td></tr></tbody></table></figure></section></div>"^^rdf:XMLLiteral ;
  sioc:content "Part of: LH Pollsget-poll Get Pollget-votes Get Voteslist-polls List PollsGet Polllh-polls/get-poll Read-only IdempotentFetch a single poll with its options and current vote counts. Requires install_plugins. Pass site_id to act on another site you belong to.ParameterTypeRequiredDefaultDescriptionpoll_idintegerYesThe post ID of the poll.site_idintegerNoOptional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.Get Voteslh-polls/get-votes Read-only IdempotentFetch votes for a poll, optionally filtered by option. Returns voter details, comment text, and timestamp. Useful for summarising results once a poll has closed. Requires install_plugins. Pass site_id to act on another site you belong to.ParameterTypeRequiredDefaultDescriptionpoll_idintegerYesThe post ID of the poll.option_idintegerNoOptional. Filter to a specific option ID, which must belong to the poll.site_idintegerNoOptional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.List Pollslh-polls/list-polls Read-only IdempotentList all polls on the current site with their status, option count, and total vote count. Requires install_plugins. Pass site_id to act on another site you belong to.ParameterTypeRequiredDefaultDescriptionstatusstringNoFilter by post status. Defaults to any. One of: publish, draft, private, any.site_idintegerNoOptional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site." ;
  sioc:topic <https://lhero.org/?taxonomy=author&term=cap-1> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
